Latest 0.0.2
Homepage https://github.com/TomJack1/UIAlertController
License MIT
Platforms ios 8.0, requires ARC
Authors

控件使用swift

仿微信 SheetView ,与UIAlertController用法相同,兼容7.0

Preview

Preview

Podfile

pod ‘LLAlertController’, ‘~> 0.0.2’

Usage

let shet = LEAlertController.init(title: "标题党", message: "content lable", alertType: LEAlertControllerStyle.ActionSheet)

let cancle = LEAlertAction.init(title: "取消", styleAction: LEAlertActionStyle.Cancel, handler: nil)

shet.addAction(cancle)

let b2 = LEAlertAction.init(title: "btn2", styleAction: LEAlertActionStyle.Default) { (view) in
NSLog("btnAction2");
}
shet.addAction(b2)

self.presentViewController(shet, animated: true, completion: nil)

Latest podspec

{
    "name": "LLAlertController",
    "version": "0.0.2",
    "summary": "u4effu5faeu4fe1 sheetView of LEAlertController.",
    "homepage": "https://github.com/TomJack1/UIAlertController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "lilei": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/TomJack1/UIAlertController.git",
        "tag": "0.0.2"
    },
    "source_files": "class/LEAlertController.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This