This is a demo about waterFlow With UICollectionView
演示.gif[self.layout computeIndexCellHeightWithWidthBlock:^CGFloat(NSIndexPath *indexPath, CGFloat width) {
int randomNum = arc4random_uniform(200);
return (CGFloat)randomNum;
}];