|
56 | 56 |
|
57 | 57 |
|
58 | 58 | ## About
|
59 |
| -CollectionViewPagingLayout is a simple but powerful tool for making complex layouts for your UICollectionView. |
60 |
| -The implementation is very simple there is custom `UICollectionViewLayout` that gives you the ability to apply transforms on the cells. |
61 |
| -No inheritance or anything like that. |
62 |
| -See [How to use](https://github.com/amirdew/CollectionViewPagingLayout#how-to-use) part for more details. |
| 59 | +CollectionViewPagingLayout is a simple but powerful tool for making complex layouts for your UICollectionView. |
| 60 | +The implementation is very simple there is custom `UICollectionViewLayout` that gives you the ability to apply transforms on the cells. |
| 61 | +No inheritance or anything like that. |
| 62 | +See [How to use](https://github.com/amirdew/CollectionViewPagingLayout#how-to-use) part for more details. |
63 | 63 |
|
64 | 64 |
|
65 | 65 | ## Installation
|
@@ -107,8 +107,8 @@ Just add all the files under `Lib` directory to your project
|
107 | 107 |
|
108 | 108 | ### Using Layout Designer
|
109 | 109 |
|
110 |
| -There is a macOS app to make it even easier for you to make your own custom layout. |
111 |
| -It allows you to tweak many options and see the result in real time. |
| 110 | +There is a macOS app to make it even easier for you to build your own custom layout. |
| 111 | +It allows you to tweak many options and see the result in real time. |
112 | 112 | - Clone the repository then build and run the mac app.
|
113 | 113 | - Tweak options and design your layout.
|
114 | 114 | - Copy the code from the right panel and paste it on Xcode, make sure to choose "ViewController" if you need the full implementation.
|
@@ -261,12 +261,12 @@ By default, the layout loads all of the cells in the collection view frame and t
|
261 | 261 | You can specify the number of cells that you need to show at a time by considering your design.
|
262 | 262 |
|
263 | 263 | - Touches on cells:
|
264 |
| -The way that this layout works is putting all the cells in the collectionview frame (doesn't matter which TransformView you use) |
265 |
| -and then it applies transforms on the target view (StackTransformView.cardView, ScaleTransformView.scalableView etc) |
| 264 | +The way that this layout works is putting all the cells in the collectionview frame (doesn't matter which TransformView you use) |
| 265 | +and then it applies transforms on the target view (StackTransformView.cardView, ScaleTransformView.scalableView etc). |
266 | 266 | so you can use `func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)` but only for one cell at the same time
|
267 | 267 | you can implement `func zPosition(progress: CGFloat) -> Int` to specify wich cell should be on top
|
268 | 268 |
|
269 |
| -if you would like to handle tap on multiple cells at the same time see [Handle touches]() |
| 269 | +if you would like to handle tap on multiple cells at the same time see [Handle touches](https://github.com/amirdew/CollectionViewPagingLayout#handle-touches) |
270 | 270 |
|
271 | 271 |
|
272 | 272 | ## License
|
|
0 commit comments