Skip to content

cinaryusufiu/YCCustomFlowLayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YCCustomFlowLayout

SCREENSHOT

YCCustomFlowLayout

YCCustomFlowLayout2

Installation

YCCustomFlowLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'YCCustomFlowLayout'

YCCustomLayoutDatasource

    //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])
    }

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors