Skip to content

About

An iOS AlertView Library ,with Error,Success,Warning

Resources

Stars

0 stars

Watchers

4 watching

Forks

 
 

Latest commit

 

History

37 Commits

Folders and files

Repository files navigation

HHAlertView

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:harrieschen@gmail.com

About

An iOS AlertView Library ,with Error,Success,Warning

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages