Replies: 1 comment 12 replies
-
After at quick glance at your project, I don't know if CoreData is the best choice to manage your data: you have only one entity with not relationships. You're not using the main feature of CoreData which maintaining the coherence of your object's graph (because your don't need it), but you inherit many annoyances of CoreData (reference types, thread safety). You only get two useful things: some efficient memory management with faulting, and fast SQLite queries under the hood. These features are only coming in play when you have a lot of data entries. Maybe something like Proper CoreData handling with TCA is possible. The simplest way is to project your entity to a value type (like you did with I didn't look at the code thoroughly, but I'm seeing that you're instantiating |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have created one open-source project for word learning and decided to use CoreData but not sure what is the best way so decided to share it here, so other dev can help and improve it.
so if anyone has time and like to help please download and run my app and advice how can improve it thanks 🙏🏾
https://github.com/saroar/Word369/tree/coreData
@tgrapperon here i am :)
Beta Was this translation helpful? Give feedback.
All reactions