Reputation: 255
Do I need a UITableViewController in addition to my UIViewController if I want to load a UITableView as a subview along with several other views at one time?
Upvotes: 2
Views: 3819
Reputation: 4901
No, just make your UIViewController
the data source and delegate of the UITableView
subview, and make sure the UIViewController
adopts the appropriate protocols in the header file.
Upvotes: 4