KOAlertController 1.0.3

KOAlertController 1.0.3

KO维护。



  • Oleksandr Khymych

CocoaPods Compatible Platform Build Status

KOAlertController 是一个用 Swift 编写的自定义 alert controller 库。使用这个类可以配置显示所需消息和可选择的动作的 alert 和 action sheet

功能

  • 使用风格按钮添加动作
  • 配置 alert 风格时,您也可以向 alert 界面添加文本字段
  • 有使用自定义文本字段的能力
  • 自定义样式(颜色、字体、填充)
  • 在右区 alert 视图中添加图像
  • 内建滚动到内容区域
  • 支持横屏和竖屏界面方向

要求

  • iOS 9.0+
  • Xcode 8.3+
  • Swift 3.1+

安装

CocoaPods

CocoaPods 是 Cocoa项目的依赖管理器。您可以使用以下命令来安装它

$ gem install cocoapods

CocoaPods 1.1+ 需要 build KOAlertController 1.0.1+。

要使用 Cocoapods 将 KOAlertController 集成到您的 Xcode 项目中,请指定它在您的 Podfile 中:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'KOAlertController', '~> 1.0.2'
end

然后,运行以下命令

$ pod install

许可证

KOAlertController 在 MIT 许可证下发布。查看许可证详情