Latest1.0.1
Homepagehttps://github.com/lingaoo/SoAlertControl
LicenseMIT
Platformsios 8.0, requires ARC
FrameworksFoundation, CoreGraphics, UIKit
Authors

继承SoAlertView 自定义MyAlertView

    MyAlertView *myalert = [MyAlertView alertViewWithTitle:@"TITLE" Message:@"MESSAGE"];

    [myalert addButtonTitle:@"Cancel" click:^(SoAlertView *alertView, UIButton *button) {
        NSLog(@"%@",button);
        [alertView dismiss];
    }];

    [myalert show];

Latest podspec

{
    "name": "SoAlertControl",
    "version": "1.0.1",
    "summary": "u81eau5b9au4e49AlertView",
    "homepage": "https://github.com/lingaoo/SoAlertControl",
    "license": "MIT",
    "authors": {
        "lingaoo": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/lingaoo/SoAlertControl.git",
        "tag": "1.0.1"
    },
    "source_files": [
        "SoAlertControl",
        "SoAlertControl/*.{h,m}"
    ],
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This