Left aligned collection view layout for iOS 9+ (tested up to 15.0)
Use SPM and add https://github.com/rursache/RSLeftAlignedLayout.git
UICollectionView
from storyboards or codeRSLeftAlignedLayout
let leftAlignedLayout = LeftAlignedLayout(scrollDirection: .horizontal, minimumLineSpacing: 16, minimumInteritemSpacing: 16)
collectionView.setCollectionViewLayout(leftAlignedLayout, animated: true)
link |
Stars: 0 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics