Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Right way to set up UITableView inside a UIView

MaxnerMaxner Posts: 50Registered Users
edited July 2011 in iPhone SDK Development
This is just to make sure that I did it right. So i have the UIView which is the view of Files Owner, and inside the UIView i have a small UITableView. Since Files owner is a subclass of UIViewController i cant use File Owner as data source (the app will crash). So what i do is add a UITableViewController to the .xib and set the class to the UITableView Subclass class file. Then i connect data source with the TableViewController and delegate with files owner, then everything works, but is it the right way to do it?
Post edited by Maxner on
Check out my first App: <a href="http://itunes.apple.com/us/app/canada-taxes-tip-calculator/id449443981?l=de&ls=1&mt=8" target="_blank">Canada Taxes & Tip Calculator</a>

Replies

Sign In or Register to comment.