MVVM.Demo
NavigationBackport
Our great sponsors
MVVM.Demo | NavigationBackport | |
---|---|---|
24 | 8 | |
67 | 807 | |
- | - | |
1.1 | 5.9 | |
about 1 year ago | 11 days 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.
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
NavigationBackport
-
How can I use NavigationLink inside List without it affecting the rest of the layout?
still you can use it via this library by default it suppourt iOS 14+ https://github.com/johnpatrickmorgan/NavigationBackport
-
Is navigation really this bad?
My team is working on updating our SwiftUI app’s navigation to use this package: https://github.com/johnpatrickmorgan/NavigationBackport
-
What SwiftUI architecture are you all using?
Pretty much the same as you, just that I bit the bullet and didn't give up until I managed to get something decent on the navigation part using native SwiftUI tools. NavigationBackport + SwiftUINavigator has been surprisingly tolerable as long as you don't have a need for too many modal views or complex deeplink flows.
-
I work for a large company that has had an RxSwift/UIKit codebase for about 5 years. We are about 90% SwiftUI and should be ~99% SwiftUI by the end of the year, AMA!
If you want to do it the SwiftUI way, you can try using the NavigationStack backport which gives you support all the way back to iOS 14. I am using it right now and it's ok with the addendum that you need to do some gymnastics to bubble up a navigation destination from one of the sub-sub-sub children of the view owning the navigation stack.
- iOS 14+ Navigation solution for SwiftUI
- How can I create a dynamic NavigationLink?
- New in SwiftUI 4 & iOS 16 : NavigationStack
-
I Quit Using SwiftUI
There’s a back port of the nav view at https://github.com/johnpatrickmorgan/NavigationBackport
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.
FlowStacks - FlowStacks allows you to hoist SwiftUI navigation and presentation state into a Coordinator
EzNews - A very simple and easy to use News app for iOS and iPadOS. It uses NewsAPI as its backend.
Helm - A graph-based SwiftUI router
Clean Architecture for SwiftUI + Combine - SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
STTextView - Performant and reusable macOS text view component (TextKit2), with line numbers and more. NSTextView replacement.
MVVM.Demo.SwiftUI
episode-code-samples - 💾 Point-Free episode code.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
TheBinderArchitecture - A declarative architecture based on bindings
SwiftUIBackports - A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS