GSAlertView 1.0.1

GSAlertView 1.0.1

Abhishek 维护。



GSAlertView

CI Status Version License Platform

Screenshot

特性

  • 标题和描述的 AlertView
  • 带有标题和正文图像的 Alert
  • 带有标题和正文的头部图标 AlertView
  • 页脚视图,左侧是图像,右侧是文本描述

安装

GSAlertView 通过 CocoaPods 提供。要安装它,只需在 Podfile 中添加以下行

pod 'GSAlertView'

代码

带标题及其描述的 AlertView

let alert = GSAlertView(title: "Hello World", image: imageSample)
alert.show(animated: true)

带有标题及其正文图像的警报

let alert = let alert = GSAlertView(title: "Hello World", description:"This is my description")
alert.show(animated: true)

作者

Abhishek Kumar Ravi

许可

GSAlertView 在 MIT 许可下提供。更多信息请参阅 LICENSE 文件。