Latest 1.0.4
Homepage https://github.com/OneupNetwork/BaHaActionSheet-ios
License MIT
Platforms ios 9.0, requires ARC
Authors

BaHaActionSheet-ios

Demo

Alert Sheet

BaHaActionSheet BaHaActionSheet

Popover

BaHaActionSheet BaHaActionSheet

Usage

Easy uses and similar UIAlertController

Basic usage

let actionSheet = BahaActionSheet.bulider()
actionSheet.addAction(Action(ActionData(title: "add to cart"), handler: { (action) in
        //Action is tapped
}))
present(actionSheet, animated: true, completion: nil)

Popover view

BahaActionSheet.bulider(sourceView: button)

Also can use point

BahaActionSheet.bulider(point: CGPoint(x: 30,y: 30))

Installation

CocoaPods

Check out Get Started tab on cocoapods.org.
To use BaHaActionSheet in your project add the following ‘Podfile’ to your project

pod 'BaHaActionSheet'

Requirements

  • Xcode 9
  • Swift 4
  • iOS 9.0+

License

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

Latest podspec

{
    "name": "BaHaActionSheet",
    "version": "1.0.4",
    "summary": "BaHaActionSheet the Bahamut alert sheet in Swift",
    "homepage": "https://github.com/OneupNetwork/BaHaActionSheet-ios",
    "license": "MIT",
    "authors": {
        "Wayne": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/OneupNetwork/BaHaActionSheet-ios.git",
        "tag": "1.0.4"
    },
    "source_files": "BaHaActionSheet/Source/*.swift",
    "swift_version": "4.1",
    "requires_arc": true
}

Pin It on Pinterest

Share This