GsCustomAlert 1.0.0

GsCustomAlert 1.0.0

Maintained by Gaganjot singh.



GsCustomAlert

Make the view, we give the way to present it. It is a Simple, easy and highly customizable UIAlertView or pop up written in Swift.

bounceModelBottom_

Installation

CocoaPods

To install GsCustomAlert using CocoaPods, integrate it in your existing Podfile, or create a new Podfile:

pod "GsCustomAlert"

Carthage

To install add the following line to your Cartfile:

github "megaganjotsingh/GsCustomAlert" "master"

Easy to Use

For Present

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

For Dismiss

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

Collaboration

I tried to build an easy to use API, but I'm sure there are ways of improving and adding more features, If you think that we can do the GsCustomAlert more powerful please contribute with this project.