Skip to content

A simple, easy to use, variety of prompting operation frame.一个简单易用多样的提示操作弹框。

License

Notifications You must be signed in to change notification settings

CoderXYF/XYFAlertView

Repository files navigation

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

  1. Add pod 'XYFAlertView' to your Podfile.
  2. Run pod install or pod update.
  3. Import <XYFAlertView.h>.

Manually

  1. Download XYFAlertView and find XYFAlertView/XYFAlertView finder.
  2. Add the source files to your Xcode project.
  3. 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

  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

Contact me (联系我)

QQ:2016003298
微信(WeChat):yz33915958

About

A simple, easy to use, variety of prompting operation frame.一个简单易用多样的提示操作弹框。

Resources

License

Stars

Watchers

Forks

Packages

No packages published