GsCustomAlert 1.0.0

GsCustomAlert 1.0.0

Gaganjot singh维护。



GsCustomAlert

创建视图,我们提供了显示的方式。这是一个简单、易用且高度可定制的 UIAlertView 或弹出窗口,使用 Swift 编写。

bounceModelBottom_

安装

CocoaPods

要使用 CocoaPods 安装 GsCustomAlert,将其集成到现有的 Podfile 中或创建一个新的 Podfile

pod "GsCustomAlert"

Carthage

要安装,请将以下行添加到 Cartfile 中

github "megaganjotsingh/GsCustomAlert" "master"

易于使用

用于展示

      let alertView = YourView.instantiateFromNib()
      let alert = GsCustomAlert(customView: alertView, tapToDismiss: false)
      alert.animationType = .popIn
      self.present(alert, animated: true, completion: nil)

用于忽略

       alert.dismiss(animated: true, completion: nil)

协作

我尝试构建一个易于使用的API,但我相信有方法可以提高并添加更多功能。如果您认为我们可以使GsCustomAlert更强大,请为此项目贡献力量。