// _ _ _ _____ _____ _ __
// __ __ |_| | | | | / ____| __ \| |/ /
// \ \ / / _ | | | | | (___ | | | | ' /
// \ \ /\ / / | | | | | | \___ \| | | | <
// \ \/ \/ / | | | | | | ____) | |__| | . \
// \__/\__/ |_| |_| |_| |_____/|_____/|_|\_\
//
To run the example project, clone the repo, and run pod install
from the Example directory first.
let controller = Bottomsheet.Controller()
// Adds View
let view = UIView
controller.addContentsView(view)
// Adds CollectionView
controller.addCollectionView { [weak self] collectionView in
// collectionView
}
// Adds TableView
controller.addTableView { [weak self] tableView in
// tableView
}
// customize
controller.overlayBackgroundColor = UIColor(red: 255, green: 0, blue: 0, alpha: 0.3)
controller.viewActionType = .tappedDismiss
controller.initializeHeight = 200
WillBottomSheet is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'WillBottomSheet'
willshërë, [email protected]
WillBottomSheet is available under the MIT license. See the LICENSE file for more info.