RxPermission alternatives and similar libraries
Based on the "Reactive Programming" category.
Alternatively, view RxPermission alternatives based on common mentions on social networks and blogs.
-
OpenCombine
Open source implementation of Apple's Combine framework for processing values over time. -
Tokamak
DISCONTINUED. SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms [Moved to: https://github.com/TokamakUI/Tokamak] -
Interstellar
DISCONTINUED. Simple and lightweight Functional Reactive Coding in Swift for the rest of us. :large_orange_diamond: -
Verge
๐ฃ A robust Swift state-management framework designed for complex applications, featuring an integrated ORM for efficient data handling. -
VueFlux
:recycle: Unidirectional State Management Architecture for Swift - Inspired by Vuex and Flux -
RxReduce
DISCONTINUED. Lightweight framework that ease the implementation of a state container pattern in a Reactive Programming compliant way. -
LightweightObservable
๐ฌ A lightweight implementation of an observable sequence that you can subscribe to. -
ReactiveArray
An array class implemented in Swift that can be observed using ReactiveCocoa's Signals -
STDevRxExt
STDevRxExt contains some extension functions for RxSwift and RxCocoa which makes our live easy. -
RxAlamoRecord
RxAlamoRecord combines the power of the AlamoRecord and RxSwift libraries to create a networking layer that makes interacting with API's easier than ever reactively.
InfluxDB - Power Real-Time Data Analytics at Scale
![InfluxDB Logo InfluxDB Logo](https://cdn-b.libhunt.com/images/promo-campaign-images/000/000/021/main.png?1663900378)
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of RxPermission or a related project?
README
RxPermission
RxSwift bindings for Permission API that helps you with Permissions in iOS.
Installation
RxPermission is available through CocoaPods. I can't guarantee it is working correctly on Carthage, so if you want to help I'm happy to introduce it with your PR.
RxPermission should work with every Swift release >= 2.2, for detailed instructions check info below.
Swift 3.0
If you want to use RxPermission with Swift 3.0 you have to specify which Permission you want to install/use because of new Apple policy about permission. For example if you want to access the Camera and the Notifications you define the following:
pod 'RxPermission/Camera'
pod 'RxPermission/Notifications'
Available specs:
pod 'RxPermission/AddressBook'
pod 'RxPermission/Bluetooth'
pod 'RxPermission/Camera'
pod 'RxPermission/Contacts'
pod 'RxPermission/Events'
pod 'RxPermission/Location'
pod 'RxPermission/MediaLibrary'
pod 'RxPermission/Microphone'
pod 'RxPermission/Motion'
pod 'RxPermission/Notifications'
pod 'RxPermission/Photos'
pod 'RxPermission/Reminders'
pod 'RxPermission/Siri'
pod 'RxPermission/SpeechRecognizer'
Below Swift 3.0
To install it, simply add the following line to your Podfile:
pod "RxPermission", "~> 0.2"
You need to also take care of Info.plist messages because otherwise Apple won't accept the app in App Store.
Usage
RxPermission makes a rx.permission
Observable that you can subscribe in order to receive signals.
Sample code
Permission
.contacts
.rx.permission
.subscribe(onNext: { status in
print("Status: \(status)")
})
.addDisposableTo(disposeBag)
Available permissions:
public enum PermissionType {
case addressBook
case bluetooth
case camera
case contacts
case events
case locationAlways
case locationWhenInUse
case mediaLibrary
case microphone
case motion
case notifications
case photos
case reminders
case siri
case speechRecognizer
}
Available statuses:
public enum PermissionStatus {
case authorized
case denied
case disabled
case notDetermined
}
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.
Author
Sunshinejr, [email protected], @thesunshinejr
License
RxPermission is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the RxPermission README section above
are relevant to that project's source code only.