adding a UITableView programmatically to a UIViewController

Posted by Adam on Stack Overflow See other posts from Stack Overflow or by Adam
Published on 2011-08-22T20:06:33Z Indexed on 2012/06/04 22:40 UTC
Read the original article Hit count: 172

Filed under:
|
|
|

I'm loading a UIViewController into one of my Nav controller's hierarchies, which will contain some text and some images. At the bottom, I will want to create a expandable and collapsable tableview.

First off, is this idea possible? If it is, how do I add it and where do I place the data source and delegate methods?

Can I just make a separate subclass of the TableViewController and then add it to my ViewController as a subview?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios