RxSwift-Permission 1.0.0

RxSwift-Permission 1.0.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by roshanman.



 
Depends on:
Permission>= 0
RxSwift>= 0
RxCocoa>= 0
 

  • By
  • roshanman

RxPermission

ReactiveX way to request permissions on iOS

Installation

RxPermission is available through CocoaPods.

pod 'RxPermission', '1.0.0'

Sample code

Permission.contacts.rx
    .status
    .subscribeNext { status in
        print("Status: \(status)")
    }
    .addDisposableTo(disposeBag)

Available permissions:

See PermissionType.swift

Available statuses:

See PermissionType.swift

For more info about permissions and statuses, please visit Permission’s README.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

License

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