CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

EasyAlert 1.0.1

EasyAlert 1.0.1

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

Maintained by Javier Laguna.



EasyAlert 1.0.1

  • By
  • Javier Laguna

EasyAlert is a bundle of convenient methods that wrap UIALertController to reduce the amount of boiler plate code needed.

Usage

EasyAlert is built on top of UIAlertController. It is composed of an alert view (pop up message) and an Action Sheet (bottom up menu).

AlertController

Creation

#import <LEAAlertController.h>

....

    LEAAlertController *alert = [LEAAlertController dismissibleAlertViewWithTitle:@"Info"
                                                                          message:@"This is an Easy Alert example"
                                                                cancelButtonTitle:@"Got it!"];                                                         

Presentation

    [alert showInViewController:self];

AlertController

Creation

#import <LEAActionSheet.h>

....

 LEAActionSheet *actionSheet = [LEAActionSheet actionSheetWithTitle:@"Select an option:"];

    [actionSheet addButtonWithTitle:@"Regular option"
                           andBlock:^(LEAActionSheet *actionSheet)
     {
         [self showDismissableAlert1:nil];
     }];

Presentation

    [actionSheet showInViewController:self];

EasyAlert comes with an example project to provide more details than listed above.

Found an issue?

Please open a new Issue here if you run into a problem specific to EasyAlert, have a feature request, or want to share a comment.

Pull requests are encouraged and greatly appreciated! Please try to maintain consistency with the existing. If you're considering taking on significant changes or additions to the project, please communicate in advance by opening a new Issue. This allows everyone to get onboard with upcoming changes, ensures that changes align with the project's design philosophy, and avoids duplicated work.

Thank you!