项目作者: coooliang

项目描述 :
an alert view
高级语言: Objective-C
项目地址: git://github.com/coooliang/PPAlertView.git
创建时间: 2018-10-12T07:20:45Z
项目社区:https://github.com/coooliang/PPAlertView

开源协议:MIT License

下载


PPAlertView

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


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


  1. [PPHUD showMessage:@"hello world"];