UICollectionViewDelegateFlowLayout
设计思路

UITableView.png

UICollectionView.png

UICollectionViewDelegateFlowLayout.png

UICollectionViewDataSource.png

UICollectionViewDelegate.png

layout cell(self-sizing cell).png

+load.png

UITableView/UICollectionView设置高度方法