Latest 0.1.0
Homepage https://github.com/warmlight/WLActionSheet
License MIT
Platforms ios 8.0
Dependencies SnapKit
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Example

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

Requirements

Installation

WLActionSheet is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'WLActionSheet'

Use

        let sheetCon = WLActionSheetController(title: "Hello", message: "Have a good day")
        let action = WLSheetAction(title: "1", style: .default)
        let action1 = WLSheetAction(title: "2", style: .destructive) { (action) in
            print("click")
        }
        let action2 = WLSheetAction(title: "cancel", style: .cancel)

        sheetCon.addAction(action)
        sheetCon.addAction(action1)
        sheetCon.addAction(action2)

        self.present(sheetCon, animated: true, completion: nil)

WLActionSheet

License

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

A action sheet like wechat

Latest podspec

{
    "name": "WLActionSheet",
    "version": "0.1.0",
    "summary": "A action sheet like wechat.",
    "description": "A action sheet like wechat",
    "homepage": "https://github.com/warmlight/WLActionSheet",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "lyy": "[email protected]"
    },
    "source": {
        "git": "https://github.com/warmlight/WLActionSheet.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "WLActionSheet/Classes/**/*",
    "frameworks": "UIKit",
    "dependencies": {
        "SnapKit": [
            "~> 4.0.0"
        ]
    }
}

Pin It on Pinterest

Share This