Re: UITableViewController, with table view not the root of its nib?
Re: UITableViewController, with table view not the root of its nib?
- Subject: Re: UITableViewController, with table view not the root of its nib?
- From: Matt Neuburg <email@hidden>
- Date: Thu, 04 Aug 2011 11:45:56 -0700
On Wed, 03 Aug 2011 13:49:10 -0700, Jens Alfke <email@hidden> said:
>As far as I can tell, UITableViewController only works when the table is the root of the nib
That's basically right. The docs are very clear on this: you must not use UITableViewController unless the table view *is* the whole controlled view:
"Note: You should use a UIViewController subclass rather than a subclass of UITableViewController to manage a table view if the view to be managed is composed of multiple subviews, one of which is a table view. The default behavior of the UITableViewController class is to make the table view fill the screen between the navigation bar and the tab bar (if either are present)."
However, use of a UITableViewController doesn't really net you any functionality you can't implement yourself, so this should not be a big issue. m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden