• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UITableViewController, with table view not the root of its nib?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: [iOS] Block animation kills performance
  • Next by Date: view:(QTMovieView *)view willDisplayImage:
  • Previous by thread: Re: UITableViewController, with table view not the root of its nib?
  • Next by thread: Correct way to use contextInfo with ARC
  • Index(es):
    • Date
    • Thread