- Notifications
You must be signed in to change notification settings - Fork4
ASBottomSheet is a UIActionSheet like menu controller.
License
NotificationsYou must be signed in to change notification settings
AdilSoomro/ASBottomSheet
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
To run the example project, clone the repo, and runpod install from the Example directory first.
ASBottomSheet is available throughCocoaPods. To installit, simply add the following line to your Podfile:
pod"ASBottomSheet"
Then import module to your view controller, make a sheet and add items to the sheet and you are done.
let first: ASBottomSheetItem = ASBottomSheetItem(withTitle: "Add Image", withIcon: UIImage.init(named: "image_icon")!)first.action = { print("First Action: Add image");};let second = ASBottomSheetItem(withTitle: "Add Sticker", withIcon: UIImage.init(named: "sticker_icon")!)second.action = { print("Second Action: Add Sticker");};let third = ASBottomSheetItem(withTitle: "Add Image", withIcon: UIImage.init(named: "image_icon")!)third.action = { print("Third Action: Add image");};let bottomSheet = ASBottomSheet.menu(withOptions: [first, second, third])bottomSheet.showMenu(fromViewController: self)AdilSoomro
Website:BooleanBites
Twitter:adil_soomro
ASBottomSheet is available under the MIT license. See the LICENSE file for more info.
About
ASBottomSheet is a UIActionSheet like menu controller.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
