Latest 1.0.2
Homepage https://github.com/alvinjohntandoc/AJBottomSheet
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

AJBottomSheet is a view that slides up from the bottom of the screen.Bottom sheets are displayed as a result of the user-triggered action.
To run the example project, clone the repo, and run pod install from the Example directory first.

AJBottomSheet

1) Install via cocoapods.

pod 'AJBottomSheet'

2) Import AJBottomSheet

import AJBottomSheet

2) Call AJBottomSheet

//Initialize view controller to be presented as bottom sheet
let vc: ListViewController = self.storyboard?.instantiateViewController(withIdentifier: "ListViewController") as! ListViewController

//Pass the view controller and set the height of the bottom sheet
AJBottomSheetViewController.show(viewController: vc, height: 130, parent: self)

TODO:

  • Add Swipe to dismiss
  • Add Swipe to view full page

Author

License

AJBottomSheet is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "AJBottomSheet",
    "version": "1.0.2",
    "summary": "Customised view controller to mimic android bottom sheet on iOS.",
    "description": "AJBottomSheet is a view that slides up from the bottom of the screen.Bottom sheets are displayed as a result of the user-triggered action.",
    "homepage": "https://github.com/alvinjohntandoc/AJBottomSheet",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "alvinjohntandoc": "[email protected]"
    },
    "source": {
        "git": "https://github.com/alvinjohntandoc/AJBottomSheet.git",
        "tag": "1.0.2"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "**/*.swift",
    "user_target_xcconfig": {
        "FRAMEWORK_SEARCH_PATHS": "$(PLATFORM_DIR)/Developer/Library/Frameworks"
    },
    "swift_version": "3.2"
}

Pin It on Pinterest

Share This