Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ ALRT Public

An easier constructor for UIAlertController. Present an alert from anywhere.

License

mshrwtnb/ALRT

Repository files navigation

An easier constructor for UIAlertController. Present an alert from anywhere.

Less Hustle, More Clarity

ALRT.create(.alert, title: "Alert?").addOK().addCancel().show()

Table of Contents

Features

  • Chainable UIAlertController Setup Methods
  • Support .alert and .actionSheet UIAlertController.Style
  • Support UITextfield UIAlertAction(.alert only)
  • Returns Result whether an alert is successfully displayed. In other words, Unit Testable.

Requirements

  • Xcode 10.2
  • Swift 5.0
  • iOS 9.0+

Installation

Carthage

github "mshrwtnb/ALRT" ~> 1.3.4

Cocoapods

pod repo update
pod 'ALRT', '~> 1.3.4'

License

ALRT is released under the MIT license. See LICENSE for details.

About

An easier constructor for UIAlertController. Present an alert from anywhere.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •