Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 ...
- Host: GitHub
- URL: https://github.com/rillieux/fish
- Owner: Rillieux
- Created: 2021-04-22T21:24:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-29T16:49:34.000Z (about 1 year ago)
- Last Synced: 2023-10-30T16:30:44.445Z (about 1 year ago)
- Topics: coredata, mvvm, swiftui
- Language: Swift
- Homepage:
- Size: 75.2 KB
- Stars: 24
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 !