Skip to content

rohittamkhane/RTCustomAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RTCustomAlert

Description

Custom Alert example written in swift. It uses Xib for UI design and delegate to handle Custom Alert actions.

Create a Custom Alert Controller in Swift step by step Medium.com

Usage

  1. Download the RTCustomAlert folder
  2. Drag and drop RTCustomAlert folder in your project
  3. Add below code to configure and display alert
let customAlert = RTCustomAlert()
customAlert.alertTitle = "Thank you"
customAlert.alertMessage = "Your order successfully done."
customAlert.alertTag = 1
customAlert.statusImage = UIImage.init(named: "smiley")
customAlert.isCancelButtonHidden = true
customAlert.delegate = self
customAlert.show()

Screenshots

Single Button Alert Two Button Alert

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages