# SWAlertController2 **Repository Path**: shede333/SWAlertController2 ## Basic Information - **Project Name**: SWAlertController2 - **Description**: UIAlertController的自定义实现,支持更丰富的UI定制,支持更多的UI控件; - **Primary Language**: Objective-C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 10 - **Forks**: 2 - **Created**: 2019-11-03 - **Last Updated**: 2023-08-09 ## Categories & Tags **Categories**: ios-modules **Tags**: None ## README # SWAlertController2 [![CI Status](https://img.shields.io/travis/shede333/SWAlertController2.svg?style=flat)](https://travis-ci.org/shede333/SWAlertController2) [![Version](https://img.shields.io/cocoapods/v/SWAlertController2.svg?style=flat)](https://cocoapods.org/pods/SWAlertController2) [![License](https://img.shields.io/cocoapods/l/SWAlertController2.svg?style=flat)](https://cocoapods.org/pods/SWAlertController2) [![Platform](https://img.shields.io/cocoapods/p/SWAlertController2.svg?style=flat)](https://cocoapods.org/pods/SWAlertController2) 参照系统的“UIAlertController”的样式UI和接口做成的弹框; * 支持多种z外观UI的自定义; * UI外形和系统弹框的样式统一; * 创建、使用的接口和系统弹框的“UIAlertController”接口基本一致; * 相对于系统弹框,除了显示文本message,还支持更多的控件类型; * 按照“SWAlertControllerItemProtocol”控件协议,用户可以j自己创建更多的控件; ## 源码(Source Code) ## 示例工程(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](https://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby pod 'SWAlertController2' ``` ## 使用方式(Use) 使用方式,和系统的**UIAlertController**类似,具体详见Example目录里的Demo工程; ## 截图(Screenshot) ![image1](https://raw.githubusercontent.com/shede333/SWAlertController2/master/Screenshot/alert1.png) ![image2](https://raw.githubusercontent.com/shede333/SWAlertController2/master/Screenshot/alert2.png) ![image3](https://raw.githubusercontent.com/shede333/SWAlertController2/master/Screenshot/alert3.png) ## 作者(Author) shede333, 333wshw@163.com ## License SWAlertController2 is available under the MIT license. See the LICENSE file for more info.