episode-code-samples
MVVM.Demo
Our great sponsors
episode-code-samples | MVVM.Demo | |
---|---|---|
7 | 24 | |
922 | 63 | |
1.7% | - | |
7.2 | 1.1 | |
9 days ago | 11 months ago | |
Swift | 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.
episode-code-samples
- SwiftUI app architecture - any recommended online resources?
-
Combine and functional programming
One resource I'd recommend is Point-Free - they'll teach you functional programming from the beginning.
-
What is a piece of code (or Framework, extension, etc.) that you add in every new project?
At a minimum, Composable Architecture, and now Dependencies from Point-Free.
-
On Not Drinking the FP Kool-Aid
I come from the iOS world and one of the most valuable resources I have found for understanding FP in Swift is https://www.pointfree.co These guys go over the theoretical concepts and then not only ask, "what's the point?" but they then go on to build out more complicated examples or even complete apps and publish useful libraries on GitHub.
- On using Dependency Injection with MVVM
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
-
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
-
Lost in the architectural design pattern choices using SwiftUI
Also see this Keynote that describes the architecture from a high level: https://github.com/jasonjrr/MVVM.Demo/blob/master/MVVM.Architecture.key
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.
Setting - Compose beautiful preference panels.
EzNews - A very simple and easy to use News app for iOS and iPadOS. It uses NewsAPI as its backend.
atomic - Write ClojureScript in JavaScript without a transpiler.
Clean Architecture for SwiftUI + Combine - SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
swift-dependencies - A dependency management library inspired by SwiftUI's "environment."
MVVM.Demo.SwiftUI
AboutKit - Add an about screen to your app in just a few lines of code.
todo - Atomic TodoMVC
Resolver - Swift Ultralight Dependency Injection / Service Locator framework
NavigationBackport - Backported SwiftUI navigation APIs introduced in WWDC22