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
}];
- Import <PXBlockAlertView/PXBlockAlertView.h>.
- Call one of the showWith.. methods.
- ???
- </project>
To run the example project, clone the repo, and run pod install
from the Example directory first.
This pod requires iOS 8.0 and !use_frameworks
.
PXBlockAlertView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "PXBlockAlertView"
Daniel Blakemore, [email protected]
PXBlockAlertView is available under the MIT license. See the LICENSE file for more info.