PXBlockAlertView 0.2.1

PXBlockAlertView 0.2.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2016

Maintained by Daniel Blakemore.



  • By
  • Daniel Blakemore

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 .
  2. Call one of the showWith.. methods.
  3. ???
  4. </project>

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.