On Oct 15, 2013, at 11:47 , Vyacheslav Karamov <ubuntul...@yandex.ru> wrote:

> How to implement scrolling?

It looks like the standard layout scrolls only in one direction, so you'd 
probably need to subclass UICollectionViewLayout to get a two-directional grid. 
(Or perhaps you can subclass UICollectionViewFlowLayout.)

AFAIK, providing a suitable collectionViewContentSize will cause the scrolling 
to work without having to create the scroll view yourself.

Still, you'll have to figure out for yourself how to handle the first row/col. 
You might be able to get the behavior directly in the layout, but as Kyle 
suggested, you're going to have to research this further yourself.

_______________________________________________

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