XYFAlertView 1.3.1

XYFAlertView 1.3.1

[CoderXYF]维护。



 
依赖项
MBProgressHUD>= 0
AFNetworking>= 0
 

  • 作者
  • CoderXYF

XYFAlertView

一个简单、易于使用的多种提示操作窗口。

用法

类方法调用,输入参数以显示相应的样式。

// Example
[XYFAlertView showAlertWithTitle:@"title1" subtitle:@"subtitle1subtitle1subtitle1subtitle1subtitle1subtitle1" subtitleColor:[UIColor orangeColor] isLeftButtonRed:NO buttonTitles:@[@"button left", @"button right"] leftButtonClickAction:^{  

} rightButtonClickAction:^{  

}];

安装

CocoaPods

  1. 在您的 Podfile 中添加pod 'XYFAlertView'
  2. 运行pod installpod update
  3. 导入<XYFAlertView.h>。

手动操作

  1. 下载XYFAlertView并找到XYFAlertView/XYFAlertView目录。
  2. 将源文件添加到您的Xcode项目中。
  3. 导入XYFAlertView.h

需求

此库需要iOS 8.0+。

许可证

XYFAlertView遵循MIT许可证。请参阅LICENSE文件以获取详细信息。



中文介绍

一个简单易用且功能丰富的提示操作弹框。

使用

类方法调用,输入参数展示对应样式

// 举例
[XYFAlertView showAlertWithTitle:@"标题1" subtitle:@"副标题1副标题1副标题1副标题1副标题1副标题1副标题1副标题1副标题1副标题1" subtitleColor:[UIColor orangeColor] isLeftButtonRed:NO buttonTitles:@[@"按钮左", @"按钮右"] leftButtonClickAction:^{  

} rightButtonClickAction:^{  

}];

安装

CocoaPods

  1. 在 Podfile 中添加 pod 'XYFAlertView'
  2. 执行 pod installpod update
  3. 导入 <XYFAlertView.h>。

手动安装

  1. 下载 XYFAlertView 并找到 XYFAlertView/XYFAlertView 文件夹。
  2. 将 XYFAlertView 内的源文件添加(拖放)到你的工程中。
  3. 导入 XYFAlertView.h

系统要求

该工具最低支持 iOS 8.0

许可证

XYFAlertView 使用 MIT 许可证,详情见 LICENSE 文件。

Sample styles preview(举例样式预览图)

img  img

img  img

img  img

联系我 (联系我)

QQ:2016003298
微信(WeChat):yz33915958