CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jan 2016 |
Maintained by Javier Laguna.
EasyAlert is a bundle of convenient methods that wrap UIALertController to reduce the amount of boiler plate code needed.
EasyAlert is built on top of UIAlertController. It is composed of an alert view (pop up message) and an Action Sheet (bottom up menu).
#import <LEAAlertController.h>
....
LEAAlertController *alert = [LEAAlertController dismissibleAlertViewWithTitle:@"Info"
message:@"This is an Easy Alert example"
cancelButtonTitle:@"Got it!"];
[alert showInViewController:self];
#import <LEAActionSheet.h>
....
LEAActionSheet *actionSheet = [LEAActionSheet actionSheetWithTitle:@"Select an option:"];
[actionSheet addButtonWithTitle:@"Regular option"
andBlock:^(LEAActionSheet *actionSheet)
{
[self showDismissableAlert1:nil];
}];
[actionSheet showInViewController:self];
EasyAlert comes with an example project to provide more details than listed above.
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!