Waterfall stream (based on UICollectionView), uicollection waterfall stream
==== Updated on April 9, March 21, 2016 ====
Modify a default BUG for your own expansion (BWaterflowLayout can be used as a flexible framework)
Waterfall stream based on UICollectionView
Customize UICollectionViewLayout to implement cell Layout attributes
[Objective-C] Check the source file copy code?
12345678 |
/** Number of waterfall stream columns */ - (CGFloat)columnCountInWaterflowLayout:(BWaterflowLayout *)waterflowLayout; /** Spacing between each column */ - (CGFloat)columnMarginInWaterflowLayout:(BWaterflowLayout *)waterflowLayout; /** Spacing between each row */ - (CGFloat)rowMarginInWaterflowLayout:(BWaterflowLayout *)waterflowLayout; /** Cell edge spacing */ - (UIEdgeInsets)edgeInsetsInWaterflowLayout:(BWaterflowLayout *)waterflowLayout; |
Download Code: http://www.code4app.com/thread-7316-1-1.html