-
Notifications
You must be signed in to change notification settings - Fork 0
radif/emjAlertView
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Imagine popping an alert in one method call without the hassle to make a variable or implementing the delegate! Even for the alertViews with textFileds in them! [emjAlertView showAlertWithTitle:@"Enter your name" message:@"(or nickname)" configuration:^(emjAlertView *alertView) { alertView.alertViewStyle=UIAlertViewStylePlainTextInput; } completion:^(emjAlertView*alertView, NSInteger buttonIndex) { if (buttonIndex==1) { //user pressed "OK" NSString *name=[alertView textFieldAtIndex:0].text; } } cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
About
UIAlertView with configuration and completion blocks.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published