To run the example project, clone the repo, and run pod install from the Example directory first.
To implement collection view with the class ASIrregularCollectionViewController using Facebook AsyncDisplayKit
class ASExampleCollectionViewController: ASIrregularCollectionViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.collectionViewLayout.columnSpacing = 1.4
self.collectionViewLayout.numberOfColumns = 3
self.collectionViewLayout.headerHeight = 0
self.collectionViewLayout.footerHeight = 0
self.collectionView.allowsMultipleSelection = true
self.collectionView.alwaysBounceVertical = true
self.collectionView.tuningParameters(for: .visibleOnly, rangeType: .fetchData)
}
}class ExampleCollectionViewController: IrregularCollectionViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.collectionViewLayout.columnSpacing = 1.4
self.collectionViewLayout.numberOfColumns = 3
self.collectionViewLayout.headerHeight = 0
self.collectionViewLayout.footerHeight = 0
self.collectionView.allowsMultipleSelection = true
self.collectionView.alwaysBounceVertical = true
}
}IrregularCollectionUIKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "IrregularCollectionUIKit"Steve Kim, pisces@retrica.co
IrregularCollectionUIKit is available under the MIT license. See the LICENSE file for more info.

