Latest 1.0.0
Homepage https://github.com/RxSwiftCommunity/RxAlert
License MIT
Platforms ios 11.0
Dependencies RxSwift, RxCocoa
Frameworks UIKit
Authors

RxAlert

Overview

We have made it easy to implement UIAlertController using RxSwift.

build status
travis CI

Carthage

Add following to Cartfile:

github "RxSwiftCommunity/RxAlert"

Cocoapods

Cocoapods RxUIAlert

edit Podfile:

vi $(PROJECT_ROOT)/Podfile

Add one line following

pod 'RxUIAlert'

Use it

Via SSH: For those who plan on regularly making direct commits, cloning over SSH may provide a better experience (which requires uploading SSH keys to GitHub):

$ git clone [email protected]:RxSwiftCommunity/RxAlert.git

Via https: For those checking out sources as read-only, HTTPS works best:

$ git clone https://github.com/RxSwiftCommunity/RxAlert.git

Sample code

alert(title: "RxAlert",
              message: "RxAlert Message",
              actions: [AlertAction(title: "OK", type: 0, style: .default)],
              vc: self).observeOn(MainScheduler.instance)
            .subscribe(onNext: { index in
                print ("index: (index)")

            }).disposed(by: disposeBag)

LICENCE

Copyright (c) RxSwiftCommunity

Latest podspec

{
    "name": "RxUIAlert",
    "version": "1.0.0",
    "summary": "RxUIAlert",
    "description": "Extension UIAlertController with Rx.nUse UIAlertController with Rx.",
    "homepage": "https://github.com/RxSwiftCommunity/RxAlert",
    "license": "MIT",
    "authors": {
        " RxSwift Community ": " [email protected] "
    },
    "source": {
        "git": "https://github.com/RxSwiftCommunity/RxAlert.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "11.0"
    },
    "swift_versions": "4.2",
    "source_files": "RxAlert/*.swift",
    "frameworks": "UIKit",
    "dependencies": {
        "RxSwift": [
            "~> 4"
        ],
        "RxCocoa": [
            "~> 4"
        ]
    }
}

Pin It on Pinterest

Share This