ReSwift
Unidirectional Data Flow in Swift - Inspired by Redux (by ReSwift)
OpenCombine
Open source implementation of Apple's Combine framework for processing values over time. (by OpenCombine)
Our great sponsors
ReSwift | OpenCombine | |
---|---|---|
6 | 5 | |
7,513 | 2,639 | |
0.2% | 1.0% | |
3.9 | 4.1 | |
3 days ago | 3 months ago | |
Swift | Swift | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ReSwift
Posts with mentions or reviews of ReSwift.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-22.
-
Do I need third party library to manage state management in swiftUI?
Check this out: https://github.com/ReSwift/ReSwift
-
Cast for and against Redux
There are some great examples linked to the ReSwift GitHub page: https://github.com/ReSwift/ReSwift
-
Is MVVM the only architecture you’ve used when developing iOS app?
ReSwift is also pretty good!
-
Getting Started With Kotlin Multiplatform Mobile
ReduxKotlin There are a few ports of Redux for KMM. This one might be the best because it is thread safe, which is very nice. The only drawback that I don't love about it is that it doesn't have types for sevral aspacts that feel like they should have types. On the other-hand ReKotlin (which is a port of ReSwift) has a lot of the typing that ReduxKotlin is missing, but is missing the thread safety. It just depends on your use-case.
-
I wrote an article about Redux architecture for SwiftUI, you can achieve pretty amazing stuff using it. Below Hot Reload implemented in 30 minutes. More links in comments. It's worth at least getting familiar with this architecture :)
Great article OP! Im sure you've seen it in your travels, but Ive been using ReSwift and ReSwift-Thunk for async actions and I've had great success - Gonna look into your navigation solution as that was the one part I'm still missing!
-
Do we have Redux specialists here :D? I'm trying to figure out if I should use classes or structs for keeping the state
I recommend you checkout the code base of ReSwift
OpenCombine
Posts with mentions or reviews of OpenCombine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-08.
- How to use OpenCombine framework with Android Studio
-
Combine: Why do you thinkPassthroughSubject is a class?
The OpenCombine implementation of PassthroughSubject does use a lock, and perhaps the objects needed to be a class to make sure that lock didn't get moved/duplicated.
-
Any good source on how to understand Combine framework? I'm really having a hard time grasping its concepts.
I have three books on the topic but don't think any of them are that wonderful. One thing that helped a little bit was reading through the OpenCombine source.
- OpenCombine: Open-source implementation of Apple's Combine
-
How would you model this situation where I want to use a custom property wrapper but also want @Published functionality?
Here is an open-source implementation of the @Published property wrapper, it could put you on the right track for getting the same functionality with your @UserDefault wrapper: https://github.com/OpenCombine/OpenCombine/blob/master/Sources/OpenCombine/Published.swift
What are some alternatives?
When comparing ReSwift and OpenCombine you can also consider the following projects:
RxSwift - Reactive Programming in Swift
PromiseKit - Promises for Swift & ObjC.
Katana - Swift Apps in a Swoosh! A modern framework for creating iOS apps, inspired by Redux.
ReactorKit - A library for reactive and unidirectional Swift applications
ReactiveCocoa - Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
ReactKit - Swift Reactive Programming.
swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
SignalKit - SignalKit is a reactive Swift framework with focus on clean and readable API.
RxAlamofire - RxSwift wrapper around the elegant HTTP networking in Swift Alamofire