Skip to content

Glsme/HanoAlert

Repository files navigation

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", buttonStyle: .oneButton, completionHandler: nil)
            .showAlert(view)
    
//Two Button Alert
HanoAlert(title: "Title", message: "Message", confirm: "OK", cancel: "Cancel", 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.