Latest 0.1.0
Homepage https://github.com/mrchenhao/HHAlertView
License Apache
Platforms ios 7.0, requires ARC
Authors

An iOS AlertView Library ,with Error,Success,Warning

image

It’s very esay to use HHAlertView

setup

use pod

 pod 'HHAlertView', '~> 0.1.0'

How to use

 HHAlertView *alertview = [[HHAlertView alloc] initWithTitle:@"成功" detailText:@"恭喜你,操作顺利的实行了!n换个行试试看效果" cancelButtonTitle:nil otherButtonTitles:@[@"确定"]];
 [alertview setEnterMode:HHAlertEnterModeTop];
 [alertview setLeaveMode:HHAlertLeaveModeBottom];
 [alertview showWithBlock:^(NSInteger index) {
    NSLog(@"%ld",index);
 }];

there are three styles

 HHAlertViewModeSuccess,
 HHAlertViewModeError,
 HHAlertViewModeWarning,
 HHAlertViewModeInfo,
 HHAlertViewModeDefault,
 HHAlertViewModeCustom

It’s easy to use,enjoy it!

demo

image

image

Todo

  • custom the way to come

Email:[email protected]

Latest podspec

{
    "name": "HHAlertView",
    "version": "0.1.0",
    "summary": "An iOS AlertView Library .",
    "description": "An iOS AlertView Library ,with Error,Success,Waing.",
    "homepage": "https://github.com/mrchenhao/HHAlertView",
    "license": "Apache",
    "authors": {
        "ChenHao": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/mrchenhao/HHAlertView.git",
        "tag": "0.1.0"
    },
    "source_files": "HHAlertView/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This