VegaScrollUICollectionView 流式布局列表动效
VegaScroll 是一款用于 UICollectionView 的流式布局列表动效,完全采用 Swift 4 编写,兼容 iOS 11 和 xCode 9 。
Usage
import VegaScrollFlowLayout let layout = VegaScrollFlowLayout() collectionView.collectionViewLayout = layout layout.minimumLineSpacing = 20 layout.itemSize = CGSize(width: collectionView.frame.width, height: 87) layout.sectionInset = UIEdgeInsets(top: 10, left: 0, bottom: 10, right: 0)
Demo
评论