Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rillieux/fish

"Fish" as in "teach a man to fish ... " A study in SwiftUI+CoreData+MVVM ...
https://github.com/rillieux/fish

coredata mvvm swiftui

Last synced: 9 days ago
JSON representation

"Fish" as in "teach a man to fish ... " A study in SwiftUI+CoreData+MVVM ...

Awesome Lists containing this project

README

        

# Fish
"Fish" as in "teach a man to fish ... " A study in SwiftUI+CoreData+MVVM ...

This repo illustrates one method of using MVVM + CoreData + SwiftUI at a "bare bones" level. Here we are intersted in using a protocol above the data manager and making it easy to use a mock data manager which we can inject into the SwiftUI canvas preview or use for testing.

The example now includes @Observable in the view model for iOS 17.0. Still very basic, but none of the CoreData seems to have had to need changes. Please comment if you notice abnything amiss !