• 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: [iPhone] UITableViewController headache
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] UITableViewController headache


  • Subject: Re: [iPhone] UITableViewController headache
  • From: Alex Curylo <email@hidden>
  • Date: Mon, 11 May 2009 07:54:47 -0700


On 11-May-09, at 6:21 AM, email@hidden wrote:

UITableViewController is mostly a convenience class that stubs the
required protocol for UITableView when you create a new subclass using
Xcode. It doesn't really matter what controller class you use if you
implement the protocol and set the delegate and data source

Oh, there's other stuff that UITableViewController works out for you as well.


For starters, Apple will reject your application (at least, it rejected one of mine) if it doesn't disable an existing selection when shown. UITableView sorts that for you instead of having to check yourself.

Less trivially, if you want to edit some text in a cell at the bottom of the screen, UITableView will magically make the text field scroll up above the keyboard and put itself away afterwards. Sorting that out yourself to look good manually takes a bit of work.

And so forth. So it does behoove you to use it if appropriate. Now, if I could just get it to handle a background image nicely...

--
Alex Curylo -- email@hidden -- http://www.alexcurylo.com/

"When I met you, it was a little like meeting Jubal from _Stranger In A
 Strange Land_. I *think* that's a compliment..." -- Dominique



_______________________________________________

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: Help debugging bindings issues
  • Next by Date: Re: Help debugging bindings issues
  • Previous by thread: Re: [iPhone] UITableViewController headache
  • Next by thread: Creating NSAttributedString objects using WebKit in secondary thread
  • Index(es):
    • Date
    • Thread