Latest 0.2.1
Homepage https://github.com/pixio/PXBlockAlertView
License MIT
Platforms ios 7.0, requires ARC
Dependencies UIAlertController-BetterConstructor
Frameworks UIKit
Authors

Version
License
Platform

TL;DR

Class methods that give you the ability to show an alert by providing a title, message, and one or two button titles and button blocks:

[PXBlockAlertView showWithTitle:@"So Simple" message:@"I can't believe it's not a pain." acceptButtonTitle:@"Show Me Another" block:^(PXBlockAlertView *sender) {
    [self showAlert];
} cancelButtonTitle:@"Awesome" block:^(PXBlockAlertView *sender) {
    // do nothing
}];

Usage

  1. Import <PXBlockAlertView/PXBlockAlertView.h>.
  2. Call one of the showWith.. methods.
  3. ???

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

Requirements

This pod requires iOS 8.0 and !use_frameworks.

Installation

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

pod "PXBlockAlertView"

Author

Daniel Blakemore, [email protected]

License

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

Latest podspec

{
    "name": "PXBlockAlertView",
    "version": "0.2.1",
    "summary": "A class with shorthand class methods for displaying alerts.",
    "description": "A set of class methods which allow you to present alerts with one or two buttons.nnOn iOS 7, it uses `UIAlertView`.  On iOS 8 it uses `UIAlertController`.",
    "homepage": "https://github.com/pixio/PXBlockAlertView",
    "license": "MIT",
    "authors": {
        "Daniel Blakemore": "[email protected]"
    },
    "source": {
        "git": "https://github.com/pixio/PXBlockAlertView.git",
        "tag": "0.2.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "public_header_files": "Pod/Classes/**/*.h",
    "dependencies": {
        "UIAlertController-BetterConstructor": []
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This