CommonUI
示例
要运行示例项目,请首先克隆仓库,然后在示例目录中运行`pod install`命令。
UI组件
### AlertViewController 简单可定制的AlertView,只需一行代码即可使用
示例
AlertViewController.show(withTitle: "Example", message: "This is a test message", buttonTitles: ["Option one", "Option two"], cancelButton: nil) { (sender) in
}
安装
CommonUI可通过CocoaPods获取。要安装它,只需将以下行添加到您的Podfile中
pod 'CommonUI', :git => 'https://github.com/digitalbrain/CommonUI', :tag => '0.1.0'
作者
digitalbrain
许可
CommonUI 在MIT许可下可用。有关更多信息,请参阅LICENSE文件。