HanoAlert

iOS badge iOS badge iOS badge

HanoAlert

  • A simple Alert to the view..

Example

//One Button Alert
HanoAlert(title: "Title", message: "Message", confirm: "OK", font: nil, buttonStyle: .oneButton, completionHandler: nil)
            .showAlert(view)
    
//Two Button Alert
HanoAlert(title: "Title", message: "Message", confirm: "OK", cancel: "Cancel", font: nil, buttonStyle: .twoButton, completionHandler: nil)
            .showAlert(view)

Requirements

  • iOS 13.0
  • Swift 5

Installation

Swift Package Manager

https://github.com/Glsme/HanoAlert.git

Author

License

HanoAlert is available under the MIT license. See the LICENSE file for more info.

GitHub

View Github