Latest 0.1.0
Homepage https://github.com/cinaryusufiu/YCCustomLayout
License MIT
Platforms ios 11.0
Authors

SCREENSHOT

YCCustomLayout

YCCustomLayout2

Installation

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

pod 'YCCustomLayout'

YCCustomLayoutDatasource


    //MARK: YCCustomLayoutDatasource
    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

Latest podspec

{
    "name": "YCCustomLayout",
    "version": "0.1.0",
    "summary": "A short description of YCCustomLayout.",
    "description": "Example Pinterest CollectionViewLayout",
    "homepage": "https://github.com/cinaryusufiu/YCCustomLayout",
    "authors": {
        "Yusuf Cu0327u0131nar": "[email protected]"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "social_media_url": "https://twitter.com/cinaryusufiu",
    "source": {
        "git": "https://github.com/cinaryusufiu/YCCustomLayout.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "11.0"
    },
    "source_files": "YCCustomLayout/**/*.{swift}",
    "resources": "YCCustomLayout/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}"
}

Pin It on Pinterest

Share This