Latest 1.3.4
Homepage https://github.com/mshrwtnb/ALRT
License MIT
Platforms ios 9.0, requires ARC
Authors

ALRT

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.

Latest podspec

{
    "name": "ALRT",
    "version": "1.3.4",
    "summary": "An easier constructor for UIAlertController. Present from anywhere.",
    "homepage": "https://github.com/mshrwtnb/ALRT",
    "screenshots": "https://raw.githubusercontent.com/wiki/mshrwtnb/ALRT/logobanner.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Masahiro Watanabe": "[email protected]"
    },
    "social_media_url": "http://qiita.com/mshrwtnb",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/mshrwtnb/ALRT.git",
        "tag": "1.3.4"
    },
    "source_files": "ALRT/*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This