You could also do something like add a class method to your cell class that 
creates a non-queued instance (if necessary to the calculation) and calculates 
the cell height based on whatever goes into determining it. That avoids mucking 
around with the collection view's queue.

What I'm currently doing is just creating an object with alloc/init (well I use "new"), and setting a portrait property on it and getting the size, the setting the landscape property, then getting that size.

Its not that this doesn't work, it just seems odd with Apple's push for dynamic type, and better rotation support.

_______________________________________________

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