Latest 1.0.1
Homepage https://github.com/AdilSoomro/ASBottomSheet
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

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

Screenshot

enter image description here

Installation

ASBottomSheet is available through CocoaPods. To install
it, 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.

Latest podspec

{
    "name": "ASBottomSheet",
    "version": "1.0.1",
    "summary": "ASBottomSheet is a UIActionSheet like menu controller.",
    "description": "ASBottomSheet is a UIActionSheet like menu controller that can be used to show custom menu from bottom of the presenting view controller. It uses UICollectionView to show menu options provided by the developer. It is greatly inspired by the FCVerticalMenu",
    "homepage": "https://github.com/AdilSoomro/ASBottomSheet",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "AdilSoomro": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AdilSoomro/ASBottomSheet.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "ASBottomSheet/Classes/**/*",
    "resources": [
        "ASBottomSheet/Resources/*.storyboard"
    ],
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This