On Jun 25, 2014, at 23:42 , Marc Palmer <[email protected]> wrote:

> If I recall, static cells only work with either:
> 
> - prototypes defined in the storyboard itself - lay out your custom views in 
> the cell prototype right there in your table. This was recently improved in 
> Xcode 5 builds which previously did not properly support dropping views into 
> the contentView of a cell

Awesome. I love how Apple documents everything so thoroughly. There is 
absolutely no mention of Storyboard table views at all in the documentation 
around -registerNib:….

Problem is, I tried, and you can't drop SECTION header and footer views into a 
static table in a Storyboard.

> - prototype cells where you change the class name for the cell in the 
> storyboard

If I do this, I can't use a nib to lay out my views. At least, not without just 
doing it all myself (loading the UINib, etc.).

> YMMV but I seem to recall that registerNib et al do not work for static 
> cells. Storyboards or GTFO :)

I'm all about the Storyboards. But Apple didn't bother to try to implement 
everything a table view can do with both variants, and so we're stuck with some 
pretty craptacular hackery.

I'd be okay with a new OS every two years, if they'd spend some time actually 
fully implementing it.

-- 
Rick




_______________________________________________

Cocoa-dev mailing list ([email protected])

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

This email sent to [email protected]

Reply via email to