GZWaterfall任何形式的瀑布流 主要自定义UICollectionViewLayout,在其中做行数列数的分布
/// 列数
- (CGFloat)columnCountInFallsLayout:(GZFallsLayout *)fallsLayout;
/// 列间距
- (CGFloat)columnMarginInFallsLayout:(GZFallsLayout *)fallsLayout;
/// 行间距
- (CGFloat)rowMarginInFallsLayout:(GZFallsLayout *)fallsLayout;
/// collectionView边距
- (UIEdgeInsets)edgeInsetsInFallsLayout:(GZFallsLayout *)fallsLayout;
// 计算布局属性
- (UICollectionViewLayoutAttributes *)layoutAttributesForItemAtIndexPath:(NSIndexPath *)indexPath
修改了cell复用混乱问题,添加了刷新功能
2017-4-5
添加了环形 立方形 球形 瀑布流 具体用法详情请看代码