Skip to content
/ Fish Public

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

Notifications You must be signed in to change notification settings

Rillieux/Fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

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 !

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages