This layout flows sections horizontally, going to the next column if section reaches the bottom of the collection view
- ARC
- Xcode 4.4+, which supports literals syntax.
- iOS 6+, or
- iOS 4.x/5.x, with PSTUICollectionView.
- CocoaPods
Addpod 'TJCollectionViewColumnFlowLayout'
to your podfile. - Manual
CopyTJCollectionViewColumnFlowLayout.h/m
to your project.
Read the demo codes for detail information.
- Variable column width, based on biggest element inside the column
- Left/Right section inset support
TJCollectionViewColumnFlowLayout is available under the MIT license. See the LICENSE file for more info.
Special thanks to Michał Kałużny (@justMaku) for helping with initial implementation