Skip to content

coooliang/PPAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PPAlertView

  • an alert view
  • not profound code , just save your time
PPAlertView *alertView = [PPAlertView new];
//alertView.hiddenCloseButton = YES;
//alertView.colorTheme = PPAlertViewColorBlue;
[alertView show:@"温馨提示" msg:@"版本更新成功" buttons:@[@"取 消",@"确 定"]];
[alertView callback:^(UIButton * _Nonnull button) {
    NSLog(@"tag %ld",(long)button.tag);
} close:^{
    NSLog(@"close");
}];

PPActivityView *activityView = [[PPActivityView alloc]initWithFrame:self.view.bounds];
[self.view addSubview:activityView];
[activityView startAnimate];

[PPHUD showMessage:@"hello world"];

Releases

No releases published

Packages

No packages published