• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scrollable GridView with fixed row and column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Scrollable GridView with fixed row and column (From: Vyacheslav Karamov <email@hidden>)
 >Re: Scrollable GridView with fixed row and column (From: Quincey Morris <email@hidden>)
 >Re: Scrollable GridView with fixed row and column (From: Vyacheslav Karamov <email@hidden>)

  • Prev by Date: Re: Scrollable GridView with fixed row and column
  • Next by Date: Cocoa class extension best practice
  • Previous by thread: Re: Scrollable GridView with fixed row and column
  • Next by thread: Re: Scrollable GridView with fixed row and column
  • Index(es):
    • Date
    • Thread