Fish
"Fish" as in "teach a man to fish ... " A study in SwiftUI+CoreData+MVVM ... (by Rillieux)
CoreDataRepository
An async library for using CoreData in the background (by roanutil)
Fish | CoreDataRepository | |
---|---|---|
13 | 9 | |
26 | 60 | |
- | - | |
5.5 | 4.7 | |
6 months ago | 22 days ago | |
Swift | Swift | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Fish
Posts with mentions or reviews of Fish.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-21.
- How to create a separate TextField view in its own file and pass Data Model inside the Content view?
-
Best ways to use CoreData in a MVVM SwiftUI app?
I found this to be a much better approach for medium+ size projects, it seems a little overly complicated at first, but it's cleaner, more stable and it's testable.
- Core data example
- CloudKit + NSFetchedResultsController = Real-Time sync between devices
- Do you explicitly define a ViewModel in your apps?
- Is my understanding of Core Data and its implementation to SwiftUI correct?
-
Is my understanding of arguments and how they relate a view's data to the next correct? Particularly while using Coredata?
This is a very basic demo: https://github.com/Rillieux/Fish
- Question Core Data and Viewmodels
- Can we use SwiftUI, with MVVM
- How to design a "computed model" that plays nicely with Core Data and SwiftUI?
CoreDataRepository
Posts with mentions or reviews of CoreDataRepository.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-21.
-
Best ways to use CoreData in a MVVM SwiftUI app?
Shameless plug: https://github.com/roanutil/CoreDataRepository
-
Combine Publisher Failure Type - Error protocol or specific implementation?
For context, I'm almost done with a major update to a library I use. https://github.com/roanutil/CoreDataRepository/tree/v1-preview
-
Asynchronous read in CoreData - Difference in using newBackgroundContext + FetchRequest vs newBackgroundContext + NSAsynchronousFetchRequest?
You can actually see an example of it in the tests for that library. https://github.com/roanutil/CoreDataRepository/blob/main/Tests/CoreDataRepositoryTests/FetchRepositoryTests.swift
-
Help with CoreData
As for how to present the objects to views, allow me to self promote: https://github.com/roanutil/CoreDataRepository
- I'm learning coredata and I'm trying to figure out how to perform the actual execute portion.
-
Is it just me or does @FetchRequest go against MVVM…? Shouldn’t Core Data code be separated from the views?
CoreDataRepository
-
Question about designing UI for iCloud Sync with Core Data + CloudKit
It’s not everyone’s cup of tea and it’s still very young but I have a library for using CoreData in the background. It’s heavy on Combine but I find it very convenient. https://github.com/roanutil/CoreDataRepository
- CoreData and SwiftUI, what a pain...
What are some alternatives?
When comparing Fish and CoreDataRepository you can also consider the following projects:
CoreStore - Unleashing the real power of Core Data with the elegance and safety of Swift
Clean Architecture for SwiftUI + Combine - SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
Contacts - Contacts is an example of SwiftUI life-cycle application using CoreData and MVVM Architecture. **NOTE** this is a work-in-process which has only begun.
Graph - Graph is a semantic database that is used to create data-driven applications.
JSQCoreDataKit - A swifter Core Data stack