What is the proper way to handle Core Data operations in the Model-View-View-Model (MVVM) pattern?
Is it what this person argues? SwiftUI and Core Data: The MVVM Way | by Mattia Righetti | Better Programming
I just completed the iOS Databases Module 5 that goes over Core Data. However, I was surprised to see that we include, so much of our Core Data operations within a View itself versus a ViewModel…
I’m not experienced enough to know the right way, but am leaning towards the cleaner end result the guy argues in the Better Programming article above. Apologies too, if this later gets covered in Module 6 in the iOS Databases course.