SystemAlertQueue 2.2.0

SystemAlertQueue 2.2.0

Maintained by Dimitar Petrov, Aleksandar Geyman, Vesela Ilchevska, ivan.georgiev, Iliyan Ivanov, dimitar.petrov, Kostadin Zamanov.



  • By
  • Scalefocus

SystemAlertQueue

Swift Version Build Status License CocoaPods Compatible Platform

Simple manager that presents alerts by adding them in queue and chains their presentation. A priority can be set to have further control.

Requirements

  • iOS 11.0+
  • Swift 5

Installation

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

pod 'SystemAlertQueue'

Usage Example

Simple Alert

AlertFactoryManager.shared.presentSimpleAlert(withMessage: "I am Simple Alert!", title: nil)

Action Alert

let defaultAction = UIAlertAction(title: "Default", style: .default, handler: nil)
let destructive = UIAlertAction(title: "Destructive", style: .destructive, handler: nil)
let cancel = UIAlertAction(title: "Cancel", style: .cancel, handler: nil)
AlertFactoryManager.shared.presentActionAlert(withMessage: "Hello, I am ActionAlert!",
                                                title: nil,
                                                withActions: [defaultAction, destructive, cancel])

License

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