|ReleasedLast Release||Nov 2015|
Maintained by Giovanni Lodi.
UICollectionViewLayout implementation that aligns the cells to the right.
Check out the twin project
UICollectionViewRightAlignedLayout as the layout object for your collection view either via code:
CGRect frame = ... UICollectionViewRightAlignedLayout *layout = [UICollectionViewRightAlignedLayout alloc] init]; UICollectionView *RightAlignedCollectionView = [[UICollectionView alloc] initWithFrame:frame collectionViewLayout:layout];
or from Interface Builder:
img needed here
UICollectionViewRightAlignedLayout is a subclass of
UICollectionViewFlowLayout, so your collection view delegate can use all the delegate methods of
For those of you who like consistency there is an
UICollectionViewDelegateRightAlignedLayout protocol that your delegate object can conform to. Is nothing more than an empty extension of
UICollectionViewRightAlignedLayout is released under the MIT license.
Hacked together with passion by @mokagio