• 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: Justification of collection cells in sections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Justification of collection cells in sections


  • Subject: Re: Justification of collection cells in sections
  • From: Doug Hill <email@hidden>
  • Date: Tue, 02 Aug 2016 16:51:09 -0700

Raglan,

Thanks for the response.

I was hoping to allow the Flow Layout to handle this rather than me handling the layout. Given how the layout works for multiple items in a section, I would presume there is some way to make this work the same for a single item in a section. Am I wrong?

Doug Hill


> On Aug 2, 2016, at 4:41 PM, Raglan T. Tiger <email@hidden> wrote:
>
>
>>
>> Any ideas on how to make the single item section flow from left to right rather than centered?
>
> Accessing the Layout Attributes <https://developer.apple.com/library/ios/documentation/UIKit/Reference/UICollectionViewLayoutAttributes_class/index.html#//apple_ref/doc/uid/TP40012183-CH1-SW2>
>  <> <> <> <> <>frame
>  <https://developer.apple.com/library/ios/documentation/UIKit/Reference/UICollectionViewLayoutAttributes_class/index.html#//apple_ref/occ/instp/UICollectionViewLayoutAttributes/frame> Property
>  <> <> <> <> <>bounds
>  <https://developer.apple.com/library/ios/documentation/UIKit/Reference/UICollectionViewLayoutAttributes_class/index.html#//apple_ref/occ/instp/UICollectionViewLayoutAttributes/bounds> Property
>  <> <> <> <> <>center
>  <https://developer.apple.com/library/ios/documentation/UIKit/Reference/UICollectionViewLayoutAttributes_class/index.html#//apple_ref/occ/instp/UICollectionViewLayoutAttributes/center> Property
_______________________________________________

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


  • Follow-Ups:
    • Re: Justification of collection cells in sections
      • From: Peter Tomaselli <email@hidden>
References: 
 >Justification of collection cells in sections (From: Doug Hill <email@hidden>)
 >Re: Justification of collection cells in sections (From: "Raglan T. Tiger" <email@hidden>)

  • Prev by Date: Re: Justification of collection cells in sections
  • Next by Date: Re: Justification of collection cells in sections
  • Previous by thread: Re: Justification of collection cells in sections
  • Next by thread: Re: Justification of collection cells in sections
  • Index(es):
    • Date
    • Thread