Skip to content

Commit c1d7dc0

Browse files
committed
readme
1 parent fd02180 commit c1d7dc0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
UICollectionView Left Aligned Layout
2-
====================================
1+
UICollectionView Centered Flow Layout
2+
=====================================
33

4-
A `UICollectionViewLayout` implementation that aligns the cells to the left or top.
4+
A `UICollectionViewLayout` implementation that aligns the cells to the center.
55

6-
<img src="https://raw.githubusercontent.com/mokagio/UICollectionViewLeftAlignedLayout/master/screenshot.png" />
6+
<img src="https://raw.githubusercontent.com/coeur/CollectionViewCenteredFlowLayout/master/screenshot.png" />
77

88
## Installation with CocoaPods
99

1010
```ruby
11-
pod 'UICollectionViewLeftAlignedLayout', :git => 'https://github.com/coeur/UICollectionViewLeftAlignedLayout.git'
11+
pod 'CollectionViewCenteredFlowLayout', :git => 'https://github.com/coeur/CollectionViewCenteredFlowLayout.git'
1212
```
1313

1414
## Usage
1515

16-
Simply set `UICollectionViewLeftAlignedLayout` as the layout object for your collection view either via Interface Builder.
16+
Simply set `CollectionViewCenteredFlowLayout` as the layout object for your collection view either via Interface Builder.
1717

18-
`UICollectionViewLeftAlignedLayout` is a subclass of `UICollectionViewFlowLayout`, so your collection view delegate can use all the delegate methods of [`UICollectionViewDelegateFlowLayout`](https://developer.apple.com/library/ios/documentation/uikit/reference/UICollectionViewDelegateFlowLayout_protocol/Reference/Reference.html).
18+
`CollectionViewCenteredFlowLayout` is a subclass of `UICollectionViewFlowLayout`, so your collection view delegate can use all the delegate methods of [`UICollectionViewDelegateFlowLayout`](https://developer.apple.com/reference/uikit/uicollectionviewdelegateflowlayout).
1919

2020
## License
2121

22-
`UICollectionViewLeftAlignedLayout` is released under the [MIT license](https://github.com/coeur/UICollectionViewLeftAlignedLayout/blob/master/LICENSE).
22+
`CollectionViewCenteredFlowLayout` is released under the [MIT license](https://github.com/coeur/CollectionViewCenteredFlowLayout/blob/master/LICENSE).

0 commit comments

Comments
 (0)