3 Star 10 Fork 2

shede333 / SWAlertController2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

SWAlertController2

CI Status Version License Platform

参照系统的“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)

image1

image2

image3

作者(Author)

shede333, 333wshw@163.com

License

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

Copyright (c) 2019 shede333 <333wshw@163.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

UIAlertController的自定义实现,支持更丰富的UI定制,支持更多的UI控件; 展开 收起
Objective-C 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Objective-C
1
https://gitee.com/shede333/SWAlertController2.git
git@gitee.com:shede333/SWAlertController2.git
shede333
SWAlertController2
SWAlertController2
master

搜索帮助