Latest 1.1.0
Homepage https://github.com/mobitar/MBAlertView
License MIT
Platforms ios , requires ARC
Frameworks QuartzCore
Authors

MBAlertView is a fast block-based alert and HUD library with a simple API.

Features

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

Usage

Alerts: Flat

MBFlatAlertView *alert = [MBFlatAlertView alertWithTitle:@"Special Instructions" detailText:@"Are you sure?" cancelTitle:@"Cancel" cancelBlock:nil];
[alert addButtonWithTitle:@"Hello" type:MBFlatAlertButtonTypeBold action:^{}];
[alert addToDisplayQueue];

Alerts: Classic




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.

Other

Bitar @bitario

License

MBAlertView is available under the MIT license.

Latest podspec

{
    "name": "MBAlertView",
    "version": "1.1.0",
    "summary": "Fast, fun, and simple block-based alerts and HUDs.",
    "description": "                    MBAlertView is a fun and simple block-based alert and HUD library for iOS, as seen in Notestand.n",
    "homepage": "https://github.com/mobitar/MBAlertView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Mo Bitar": "[email protected]"
    },
    "source": {
        "git": "https://github.com/mobitar/MBAlertView.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "ios": null
    },
    "source_files": "MBAlertView/**/*.{h,m}",
    "frameworks": "QuartzCore",
    "requires_arc": true
}

Pin It on Pinterest

Share This