Skip to content

sumanthk2006/MBAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MBAlertView

MBAlertView is a fun and simple block-based alert and HUD library for iOS, as seen in Notestand.

Features

  • Nested alerts and HUDs
  • Block based
  • Images
  • Nice animations
  • Doesn't use any PNG files. Everything is drawn with code.

Usage

There are two factory methods to get you started:

Alerts

MBAlertView *alert = [MBAlertView alertWithBody:@"Are you sure you want to delete this note? You cannot undo this." cancelTitle:@"Cancel" cancelBlock:nil];
[alert addButtonWithText:@"Delete" type:MBAlertViewItemTypeDestructive block:^{}];
[alert addToDisplayQueue];

HUDs

[MBHUDView hudWithBody:@"Wait." type:MBAlertViewHUDTypeActivityIndicator hidesAfter:4.0 show:YES];

You can see more in the easy to follow demo.

License

MBAlertView is available under the MIT license.

About

Fast, fun, and simple block-based alerts and HUDs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published