Latest 1.3
Homepage https://github.com/ivanshevelev/AlertPro
License MIT
Platforms ios 8.0, tvos 9.0, requires ARC
Frameworks UIKit
Authors

Version
License
Platform

UIViewController category for easy creating and showing UIAlertController.

Usage

So simple, lol.

[self hrShowActionSheetWithTitle:@"Title" message:@"Message" buttonTitles:@[@"First", @"Second"] actionHandler:^(NSInteger indexOfAction, NSString * _Nonnull title) {
    [self showHandleAlertWithMessage:[NSString stringWithFormat:@"Tapped button with name: '%@'", title]];
} andCancelActionHandler:^{
    [self showHandleAlertWithMessage:@"Cancel button is tapped"];
}];

-(void)showHandleAlertWithMessage:(NSString *)message {
    [self hrShowAlertWithTitle:@"Handle!" message:message];
}

For another methods usage see documentation.

Requirements

Objective-C and iOS 8.0 or higher.

Installation

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

pod 'AlertPro'

Author

Ivan Shevelev, [email protected]

License

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

Latest podspec

{
    "name": "AlertPro",
    "version": "1.3",
    "summary": "UIViewController category for easy showing UIAlertController.",
    "homepage": "https://github.com/ivanshevelev/AlertPro",
    "license": "MIT",
    "authors": {
        "Ivan Shevelev": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ivanshevelev/AlertPro.git",
        "tag": "1.3"
    },
    "social_media_url": "https://twitter.com/antsy_ivan",
    "platforms": {
        "ios": "8.0",
        "tvos": "9.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Sources/**/*",
    "public_header_files": "Pod/Sources/**/*.h",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This