Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ASBottomSheet is a UIActionSheet like menu controller.

License

NotificationsYou must be signed in to change notification settings

AdilSoomro/ASBottomSheet

Repository files navigation

CI StatusVersionLicensePlatform

Example

To run the example project, clone the repo, and runpod install from the Example directory first.

Screenshot

enter image description here

Installation

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)

Author

AdilSoomro

Website:BooleanBites

Twitter:adil_soomro

License

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

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp