Skip to content

Make ready your view and present it with this library

Notifications You must be signed in to change notification settings

megaganjotsingh/GsCustomAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

pod 'GsCustomAlert', '~> 1.0'

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.

About

Make ready your view and present it with this library

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published