Latest 0.1.5
Homepage https://github.com/KevinChouRafael/UICollectionViewFreezeLayout
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/rafael zhou/UICollectionViewFreezeLayout.svg?style=flat)](https://travis-ci.org/rafael zhou/UICollectionViewFreezeLayout)
Version
License
Platform

Description

The UICollectionViewFreezeLayout extends UICollectionViewLayout.

Support both Horizontal and Vertical scroll direct.

Can set freeze coloums numbers and rows numbers.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

The example codes looks like.

let layout = UICollectionViewFreezeLayout()
layout.delegate = self
layout.freezeColum = 3
layout.freezeRow = 2
layout.itemSize = CGSize(width: 70, height: 70)

collectionView.setCollectionViewLayout(layout, animated: false)
collectionView.backgroundColor = UIColor.whiteColor()
collectionView.bounces = false

Simple image

Requirements

  • iOS 8.0+
  • Xcode 7.1+
  • Swift 3.0+

Installation

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

pod "UICollectionViewFreezeLayout"

Author

rafael zhou, [email protected]

License

UICollectionViewFreezeLayout is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UICollectionViewFreezeLayout",
    "version": "0.1.5",
    "summary": "A layout that can set freeze coloums number and row numbers in UICollectionView., and scroll both Horizontal and Vertical direct.",
    "description": "The UICollectionViewFreezeLayout extends UICollectionViewLayout.nnSupport both Horizontal and Vertical scroll direct.nnCan set freeze coloums numbers and rows numbers.",
    "homepage": "https://github.com/KevinChouRafael/UICollectionViewFreezeLayout",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "rafael zhou": "[email protected]"
    },
    "source": {
        "git": "https://github.com/KevinChouRafael/UICollectionViewFreezeLayout.git",
        "tag": "0.1.5"
    },
    "social_media_url": "https://twitter.com/wumingapie",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "UICollectionViewFreezeLayout/UICollectionViewFreezeLayout/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This