TheBinderArchitecture
MVVM.Demo
TheBinderArchitecture | MVVM.Demo | |
---|---|---|
6 | 24 | |
148 | 67 | |
2.0% | - | |
10.0 | 1.1 | |
over 4 years ago | about 1 year ago | |
Swift | ||
MIT License | MIT License |
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.
TheBinderArchitecture
-
Combine for User Input
Here's an explanation of how to do it. The Binder Architecture
-
For UIKit apps, what is best practice for VC listening for updates from a service?
I use RxSwift/RxCocoa and The Binder Architecture. That way View Controllers always show the most recent data from the service.
-
Is MVVM the only architecture you’ve used when developing iOS app?
I'm a big fan of The Binder Architecture. It takes the best of MVVM but without all the boilerplate associated with it.
-
Best architecture for iOS data-centric app
I use a variation on The Binder Architecture. Another one I like a lot and that works well with SwiftUI is The Composable Architecture.
-
Struggling with RXSwift.
As far as architecture I found that the MVVM way of making a view model with Inputs and Outputs often made things a bit too abstract when I was starting out. I actually found the architecture described here: https://github.com/DeclarativeHub/TheBinderArchitecture to be easy to understand and more direct when you're starting out and want to actually see things working.
-
Swift Architecture patterns
I use Cause-Logic-Effect which is a variation of The Binder Architecture that I developed. CLE is basically like Binder Architecture except my Services are small functions instead of large classes.
MVVM.Demo
- New to mobile dev, recommended pattern?
-
Best GitHub starter project for IOs App
UIKit: https://github.com/jasonjrr/MVVM.Demo
-
How to send data between ViewModels in SwiftUI?
Take a look at the Keynote here, it describes the architecture at a high level. https://github.com/jasonjrr/MVVM.Demo/tree/master I don’t go into too much depth for each pattern, because they are all universal and easy to read about in great deal elsewhere.
-
SwiftUI app architecture - any recommended online resources?
There is a Keynote/Power Point here describing the architecture at a high level https://github.com/jasonjrr/MVVM.Demo/tree/master
- Need some help finding a good API tutorial for MVVM and UIKit
-
What SwiftUI architecture are you all using?
See the keynote here for a brief overview: https://github.com/jasonjrr/MVVM.Demo/blob/master/MVVM.Architecture.key
-
where should API calls be made in MVVM?
https://github.com/jasonjrr/MVVM.Demo (see the keynote with explanation of the architecture patterns)
-
What is your most efficient(and updated) way to use coordinator pattern ? Which version would you recommend today?
Yes! https://github.com/jasonjrr/MVVM.Demo
- I know the Coordinator pattern is quite popular for iOS app, so I made a short video explaining how it works. Hoping it can help junior developers 🙌
-
Looking for unit-test open-source projects
I use this repo to train and interview devs. Lots of good unit tests as well. Feel free to check it out: https://github.com/jasonjrr/MVVM.Demo
What are some alternatives?
swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
ReSwift - Unidirectional Data Flow in Swift - Inspired by Redux
EzNews - A very simple and easy to use News app for iOS and iPadOS. It uses NewsAPI as its backend.
MVVM.Demo.SwiftUI
Clean Architecture for SwiftUI + Combine - SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
RxSwift - Reactive Programming in Swift
CLE-Architecture-Tools - A library for helping conform to the Cause-Logic-Effect Architecture.
episode-code-samples - 💾 Point-Free episode code.
mvvmc-demo - Sample code from MVVM-C In Practice Talk
open-source-ios-apps - :iphone: Collaborative List of Open-Source iOS Apps