XYFAlertView
A simple, easy to use, variety of prompting operation frame.
Usage
Class method calls, input parameters to display corresponding styles.
// Example
[XYFAlertView showAlertWithTitle:@"title1" subtitle:@"subtitle1subtitle1subtitle1subtitle1subtitle1subtitle1" subtitleColor:[UIColor orangeColor] isLeftButtonRed:NO buttonTitles:@[@"button left", @"button right"] leftButtonClickAction:^{
} rightButtonClickAction:^{
}];Installation
CocoaPods
- Add
pod 'XYFAlertView'to your Podfile. - Run
pod installorpod update. - Import <XYFAlertView.h>.
Manually
- Download XYFAlertView and find XYFAlertView/XYFAlertView finder.
- Add the source files to your Xcode project.
- Import
XYFAlertView.h.
Requirements
This library requires iOS 8.0+.
License
XYFAlertView is provided under the MIT license. See LICENSE file for details.
中文介绍
一个简单易用多样的提示操作弹框。
使用
类方法调用,输入参数展示对应样式
// 举例
[XYFAlertView showAlertWithTitle:@"标题1" subtitle:@"副标题1副标题1副标题1副标题1副标题1副标题1副标题1副标题1副标题1副标题1" subtitleColor:[UIColor orangeColor] isLeftButtonRed:NO buttonTitles:@[@"按钮左", @"按钮右"] leftButtonClickAction:^{
} rightButtonClickAction:^{
}];安装
CocoaPods
- 在 Podfile 中添加
pod 'XYFAlertView'。 - 执行
pod install或pod update。 - 导入 <XYFAlertView.h>。
手动安装
- 下载 XYFAlertView 并找到 XYFAlertView/XYFAlertView 文件夹。
- 将 XYFAlertView 内的源文件添加(拖放)到你的工程。
- 导入
XYFAlertView.h。
系统要求
该工具最低支持 iOS 8.0。
许可证
XYFAlertView 使用 MIT 许可证,详情见 LICENSE 文件。
Sample styles preview(举例样式预览图)
Contact me (联系我)
QQ:2016003298
微信(WeChat):yz33915958





