YCCustomFlowLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'YCCustomFlowLayout'
//MARK: YCCustomFlowLayoutDatasource
func numberOfColomns() -> Int {
return 3
}
func cellPadding() -> CGFloat {
return 4
}
func collectionView(_ collectionView: UICollectionView, heightForItemAtIndexPath indexPath:IndexPath) -> CGFloat {
return CGFloat(itemHeight[indexPath.row])
}- Yusuf Çınar - https://github.com/cinaryusufiu
This project is licensed under the MIT License - see the LICENSE.md file for details

