Listenable alternatives and similar libraries
Based on the "Reactive Programming" category.
Alternatively, view Listenable alternatives based on common mentions on social networks and blogs.
-
ReactiveCocoa
Cocoa framework and Obj-C dynamism bindings for ReactiveSwift. -
OpenCombine
Open source implementation of Apple's Combine framework for processing values over time. -
RxCoordinator
đ Powerful navigation library for iOS based on the coordinator pattern -
Tokamak
SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms [Moved to: https://github.com/TokamakUI/Tokamak] -
Katana
Swift Apps in a Swoosh! A modern framework for creating iOS apps, inspired by Redux. -
RxAlamofire
RxSwift wrapper around the elegant HTTP networking in Swift Alamofire -
Interstellar
Simple and lightweight Functional Reactive Coding in Swift for the rest of us. :large_orange_diamond: -
RxAutomaton
đ¤ RxSwift + State Machine, inspired by Redux and Elm. -
NSObject-Rx
Handy RxSwift extensions on NSObject, including rx.disposeBag. -
Verge
đŁ A robust Swift state-management framework designed for complex applications, featuring an integrated ORM for efficient data handling. -
RxMediaPicker
A reactive wrapper built around UIImagePickerController. -
VueFlux
:recycle: Unidirectional State Management Architecture for Swift - Inspired by Vuex and Flux -
Komponents đŚ
đŚ React-inspired UIKit Components - â ď¸ Deprecated -
ReactiveTask
Flexible, stream-based abstraction for launching processes -
TemplateKit
React-inspired framework for building component-based user interfaces in Swift. -
RxReduce
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. -
RxMultipeer
A testable RxSwift wrapper around MultipeerConnectivity -
Aftermath
:crystal_ball: Stateless message-driven micro-framework in Swift. -
OneWay
A Swift library for state management with unidirectional data flow. -
ReactiveArray
An array class implemented in Swift that can be observed using ReactiveCocoa's Signals -
SimpleApiClient
A configurable api client based on Alamofire4 and RxSwift4 for iOS. -
ACKReactiveExtensions
Set of useful extensions for ReactiveSwift & ReactiveCocoa -
ReactiveLocation
ReactiveCocoa wrapper for CLLocationManager. -
BindKit
Two-way data binding framework for iOS. Only one API to learn. -
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
* 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 Listenable or a related project?
README
Listenable
Swift object that provides an observable platform for multiple listeners.
Requirements
- iOS 9.0+
- Xcode 9.x+
- Swift 4
Installation
Listenable is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Listenable'
And run pod install
.
Usage
Create a Listenable object either by inheriting or initializing a Listenable typed with a protocol:
class ListenableObject: Listenable<ListenableDelegate> {
// Class
}
You can then add and remove listeners, and update them as required...
Add Listener(s):
add(listener: Listener, priority: ListenerPriority) -> Bool
add(listeners: [Listener], priority: ListenerPriority) -> Void
Remove Listener(s):
remove(listener: Listener) -> Bool
remove(listeners: [Listener]) -> Void
removeAllListeners()
Enumerate & Update Listeners:
updateListeners(update: (listener: Listener, index: Int) -> Void)
Prioritisation
ListenerPriority
allows for definition of enumeration priority for a listener; by default the priority
parameter is set to .low
. The following values can be assigned:
.low (Raw: 0)
.high (Raw: 1000)
.custom (Valid range: 0-1000)
Listeners can also be updated exclusively relative to their priority:
updateListeners(withPriority: ListenerPriority?,
update: (listener: Listener, index: Int) -> Void)
updateListeners(withPriorities: ClosedRange<Int>?,
update: (listener: Listener, index: Int) -> Void)
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/MerrickSapsford/Listenable.
License
The library is available as open source under the terms of the MIT License.
*Note that all licence references and agreements mentioned in the Listenable README section above
are relevant to that project's source code only.