Swiftpack.co - Youngminah/YMLogoAlert as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Youngminah/YMLogoAlert
A simple alert with logo image and color.
.package(url: "https://github.com/Youngminah/YMLogoAlert.git", from: "1.0.0")

YMLogoAlert

Version Carthage Compatible SwiftPM License Platform

About YMLogoAlert

YMLogoAlert mov

  • A simple custom alert.
  • YMLogoAlert lets you pop up a simple alert with a natural animation, your app's own color, font and a logo image (in logo case if you need)

Example

//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)

Requirements

  • iOS 13.0
  • Swift 5

Installation

CocoaPods

YMLogoAlert is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'YMLogoAlert'

Carthage

github Youngminah/YMLogoAlert

Swift Package Manager

https://github.com/Youngminah/YMLogoAlert.git

Author

License

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

GitHub

link
Stars: 1
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

Release 1.0.0
1 week 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