Re: Scrollable GridView with fixed row and column
Re: Scrollable GridView with fixed row and column
- Subject: Re: Scrollable GridView with fixed row and column
- From: Quincey Morris <email@hidden>
- Date: Tue, 15 Oct 2013 12:03:58 -0700
On Oct 15, 2013, at 11:47 , Vyacheslav Karamov <email@hidden> 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 (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