Re: How to get variably sized header in a UICollectionView supporting both orientations
Re: How to get variably sized header in a UICollectionView supporting both orientations
- Subject: Re: How to get variably sized header in a UICollectionView supporting both orientations
- From: Steve Christensen <email@hidden>
- Date: Fri, 04 Oct 2013 14:09:24 -0700
On Oct 4, 2013, at 1:52 PM, David Hoerl <email@hidden> 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 (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