https://github.com/Sylvia-YiyinShen/WaterfallWidgetDemo
Easy to use
1. Make your own model conform to WaterfallWidgetCellModelProtocol
2. Make your own collection cell conform to WaterfallWidgetCellProtocol
3. Invoke func configure(models: [WaterfallWidgetCellModelProtocol], customCellNib: UINib, backgroundColor: UIColor = default)
Highly customisable
- columnCount
- minimumColumnSpacing
- minimumInteritemSpacing
- sectionInset
- itemRenderDirection
- backgroundColor
No comments:
Post a Comment