Latest 0.9.0
Homepage https://github.com/BulletTrain/BTCustomAlertController
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

overview

BTCustomAlertController is a simple pure and refresh AlertView.

Preview screenshot

screenshot1

Requirements

  • xcode9
  • iOS8 or higher

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate SideMenu into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'BTCustomAlertController'

Then, run the following command:

$ pod install

Usage

BTCustomAlertController *alert = [[BTCustomAlertController alloc] initWithTitle:@"your alert title" message:@"your alert message"];
alert.isShowCancel = YES;
[alert addAction:[BTAction actionWithTitle:@"left btn name" action:^{

}]];
[alert addAction:[BTAction actionWithTitle:@"right button name" action:^{

}]];

Latest podspec

{
    "name": "BTCustomAlertController",
    "version": "0.9.0",
    "summary": "One simple nice custom alertview",
    "description": "One simple nice custom alertview addtion with cocoapod support.",
    "homepage": "https://github.com/BulletTrain/BTCustomAlertController",
    "social_media_url": "http://blog.iflytek.cc/",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Rachael": "[email protected]"
    },
    "source": {
        "git": "https://github.com/BulletTrain/BTCustomAlertController.git",
        "tag": "0.9.0"
    },
    "source_files": "BTCustomAlertController/*.{h,m}",
    "platforms": {
        "ios": "8.0"
    },
    "frameworks": "UIKit",
    "requires_arc": true,
    "subspecs": [
        {
            "name": "CommonElement",
            "dependencies": {
                "CommonElement": []
            },
            "xcconfig": {
                "FRAMEWORK_SEARCH_PATHS": "$(PODS_ROOT)/CommonElement"
            }
        }
    ]
}

Pin It on Pinterest

Share This