简单直观的iOS视图:NZAlertView

jopen 11年前

NZAlertView是一个简单和直观的警告视图,类似于推送通知效果。这人类使用 UIAlertView 作为默认的方法和协议。

#import "NZAlertView.h"  ...  {      // There are several ways to init, just look at the class header      NZAlertView *alert = [[NZAlertView alloc] initWithStyle:NZAlertStyleSuccess                                                        title:@"Alert View"                                                      message:@"This is an alert example."                                                     delegate:nil];        [alert show];              // or        [alert showWithCompletion:^{      NSLog(@"Alert with completion handler");      }];                                              }


687474703a2f2f73382e706f7374696d672e6f72672f656269626d753739782f4e5a416c6572745f566965772e706e67.png

项目主页:http://www.open-open.com/lib/view/home/1389600440430