SWAlertController2iOS 彈框組件
SWAlertController2
參照系統(tǒng)的“UIAlertController”的樣式UI和接口做成的彈框;
- 支持多種z外觀UI的自定義;
- UI外形和系統(tǒng)彈框的樣式統(tǒng)一;
- 創(chuàng)建、使用的接口和系統(tǒng)彈框的“UIAlertController”接口基本一致;
- 相對(duì)于系統(tǒng)彈框,除了顯示文本message,還支持更多的控件類型;
- 按照“SWAlertControllerItemProtocol”控件協(xié)議,用戶可以j自己創(chuàng)建更多的控件;
源碼(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.
運(yùn)行“Example”里的demo工程,需要先在根目錄執(zhí)行 pod install ;
安裝(Installation)
SWAlertController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SWAlertController2'
使用方式(Use)
使用方式,和系統(tǒng)的UIAlertController類似,具體詳見Example目錄里的Demo工程;
截圖(Screenshot)
作者(Author)
shede333, [email protected]
License
SWAlertController2 is available under the MIT license. See the LICENSE file for more info.
評(píng)論
圖片
表情
