44ccf3fab6ddd188b0ff7b5d4bfdb9d940c3650b
InfiniteCollectionView
Component which presents a dismissible view from the bottom of the screen
Requirements
- iOS 8.0+
- Swift 2.0+
- ARC
install
Cocoapods
Adding the following to your Podfile and running pod install:
use_frameworks!
pod "InfiniteCollectionView"
import
import InfiniteCollectionView
Usage
let controller = InfiniteCollectionView.Controller()
// Adds Toolbar
controller.addToolbar({ toolbar in
// toolbar
})
// Adds View
let view = UIView
controller.addContentsView(view)
// Adds NavigationBar
controller.addNavigationbar(configurationHandler: { navigationBar in
// navigationBar
})
// Adds CollectionView
controller.addCollectionView(configurationHandler: { [weak self] collectionView in
// collectionView
})
// Adds TableView
controller.addTableView(configurationHandler: { [weak self] tableView in
// tableView
})
// customize
controller.overlayBackgroundColor = UIColor(red: 255, green: 0, blue: 0, alpha: 0.3)
controller.viewActionType = .TappedDismiss
controller.initializeHeight = 200
##License
This project is made available under the MIT license. See LICENSE file for details.
Languages
Swift
94.5%
Ruby
2.9%
Objective-C
2.6%