微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

SWAlertController2 iOS 弹框组件

程序名称:SWAlertController2

SWAlertController2 介绍

SWAlertController2

参照系统的“UIAlertController”的样式UI和接口做成的弹框;

  • 支持多种z外观UI的自定义;
  • UI外形和系统弹框的样式统一;
  • 创建、使用的接口和系统弹框的“UIAlertController”接口基本一致;
  • 相对于系统弹框,除了显示文本message,还支持更多的控件类型;
  • 按照“SWAlertControllerItemProtocol”控件协议,用户可以j自己创建更多的控件;

源码(Source Code)

https://github.com/shede333/SWAlertController2
https://gitee.com/shede333/SWAlertController2

示例工程(Example)

To run the example project, clone the repo, and run pod install from the
Example directory first.

运行“Example”里的demo工程,需要先在根目录执行 pod install ;

安装(Installation)

SWAlertController is available through CocoaPods. To
install it, simply add the following line to your Podfile:

pod 'SWAlertController2'

使用方式(Use)

使用方式,和系统的 UIAlertController 类似,具体详见Example目录里的Demo工程;

截图(Screenshot)



作者(Author)

shede333, [email protected]

License

SWAlertController2 is available under the MIT license. See the LICENSE file
for more info.

SWAlertController2 官网

https://github.com/shede333/SWAlertController2

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐