A simple Alert to the view with Swift
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
- Glsme (Hano)
- E-mail: glasses.str.man@gmail.com
License
HanoAlert is available under the MIT license. See the LICENSE file for more info.