I have a UIView which contains a UITableView. The tableview\'s delegate is set to my UIView, but it never calls the delegate methods:
-(id)init { self = [sup
Try changing your UIViewto UIViewController and in viewDidLoad, call
UIView
UIViewController
viewDidLoad
[[UITableView alloc] initWithFrame:style:] to create your Table View.
[[UITableView alloc] initWithFrame:style:]
Set self as the delegate and data source like you did above, and then add this UITableView as Subview in this Controller.