On Oct 4, 2013, at 1:52 PM, David Hoerl <dho...@mac.com> wrote:

> But its really odd - and I'm thinking about a bug report on this - that the 
> delegate has to provide the size before the view is even created.

It make sense if you think about it: it's asking for sizes so that scroll view 
contentSize can be set and the layout can be determined. It would be a lot more 
expensive to have to actually build each of the cells for the entire collection 
just to get their sizes. This sort of behavior also happens with UITableView 
and its various cells.


_______________________________________________

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

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

Reply via email to