//YMLogoAlert1
YMLogoAlert(title: "Title content with no message", color: .systemTeal , buttonStyle: .confirmAndCancel, okCompletion: nil)
.showAlert(in: view)
//YMLogoAlert2
YMLogoAlert(title: "This is a title content", message: "This is a message content. Put your message.", color: .systemYellow , completion: nil)
.showAlert(in: view)
//YMLogoAlert3
YMLogoAlert(title: "This is a title content", message: "This is a message content. Put your message.", color: .systemRed, imageName: "ExampleImage" , completion: nil)
.showAlert(in: view)
//YMLogoAlert4
YMLogoAlert(title: "This is a title content", message: "This is a message content. Put your message.", color: .systemGreen, imageName: "ExampleImage" , buttonStyle: .confirmAndCancel, okCompletion: nil)
.showAlert(in: view)
YMLogoAlert is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'YMLogoAlert'
github Youngminah/YMLogoAlert
https://github.com/Youngminah/YMLogoAlert.git
YMLogoAlert is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 8 |
Last commit: 2 years ago |
Fix Example , comfirm the test
Full Changelog: https://github.com/Youngminah/YMLogoAlert/compare/0.5.0...1.0.0
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics