On Dec 2, 2010, at 11:33 AM, glenn andreas wrote:

> Actually, it does a number of things for you:

I didn't say it didn't do anything. I said it didn't do anything you couldn't 
easily do yourself.

> 1) It flashes the scroll bar correctly when the view appears

Which you can easily do by implementing viewDidAppear.

> 2) It can automatically deselect selected rows (in 3.2 and later)

Which you can easily do by implementing viewWillAppear.

> 3) Most importantly, it will handle dealing with keyboards showing up and 
> covering part of the table view (and adjust the scroll/content inset), which 
> can be a painful mess, especially trying to support both pre 3.2, and 3.2/4.x 
> (since not only are the keyboard notifications different, but it deals with 
> the view being presented in the variety of different ways - sheet, full 
> screen, etc...)

Which you... uh... okay, you've got me there! :)

Nevertheless, UITableViewController is in many ways just annoying. It doesn't 
obey the UIViewController rule, which it should inherit, about what happens 
when you init it with a nil nibName. And if your view is not completely 
occupied by a table (as in my TidBITS News app, where there's a UILabel and a 
table), you *can't* use UITableViewController. m.

--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to