Skip to content

pixio/PXBlockAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PXBlockAlertView

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. ???
  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, DanBlakemore@gmail.com

License

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

About

A class with shorthand class methods for displaying alerts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published