/CPCollectionViewKit

Interesting UICollectionView layouts and transitions

Primary LanguageSwiftMIT LicenseMIT

CPCollectionViewKit

CollectionViewTransitionLayout Readme

FlowAndStage FlowAndTimeMachine FlowAndCircle StageAndTimeMachine
StageAndCircle TimeMachineAndCircle

CollectionViewTimeMachineLayout Readme

Left Right Top Bottom
Reversed

CollectionViewWheelLayout Readme

LeftBottom RightBottom LeftTop RightTop
LeftCenter RightCenter TopCenter BottomCenter

CollectionViewCardLayout Readme

Zoominout Rotateinout Waltz VerticalRotation
Cylinder Somersault Delete Insert

CollectionViewStageLayout Readme

Waltz Somefault Blend FadeAway

CollectionViewCircleLayout Readme

Circle DeleteCustom InsertCustom InsertBase

CollectionViewCaterpillarLayout Readme

Caterpillar

Example

To run the example project, clone the repo, and run bundle install from the Repo diretory to install CocoaPods1.2.0 first, then run bundle exec pod install from the specific demo directory.

# parsifal @ ParsifaldeMacBook-Pro in ~ [18:08:28]
$ Repo/CPCollectionViewKit

# parsifal @ ParsifaldeMacBook-Pro in ~/Repo/CPCollectionViewKit on git:master x [18:08:46]
$ bundle install

# parsifal @ ParsifaldeMacBook-Pro in ~/Repo/CPCollectionViewKit/Demos/CPCollectionViewCardLayoutDemo on git:master
$ bundle exec pod install

# parsifal @ ParsifaldeMacBook-Pro in ~/Repo/CPCollectionViewKit/Demos/CPCollectionViewCardLayoutDemo on git:master x
$ open CPCollectionViewCardLayoutDemo.xcworkspace

Requirements

Installation

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

pod "CPCollectionViewKit"

TODO

  • Update Usage
  • Support CollectionViewCaterpillarLayout Direction Settings
  • Unit Test
  • Support Cocoapods & Carthage
  • Layout Transition
  • More Delete/Insert Animations
  • More Interesting UICollectionView Layouts

Author

Parsifal, zmw@izmw.me

License

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