mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Migration guide for MagicalRecord user? #175
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sunkehappy on GitHub (Oct 13, 2017).
I'm a MagicalRecord user. As we know it's been unmaintained for a long time. So I'm considering to switch a new library that is compatible with our existing code and that I could switch to step by step. It would be hard for me to remove MagicalRecord and add CoreStore in one step because it's highly coupled with my code.
So can anyone provide an migration guide for MagicalRecord user?
@JohnEstropia commented on GitHub (Oct 14, 2017):
Hi, I'm not sure what we could consider a "migration guide", because you would need to rewrite everything. You can use your
xcdatamodeldfiles andNSManagedObjectas is, but other than those I'm afraid you'd need to reimplement most of your existing code. (CoreStore for example enforces transaction paradigms, and hides awayNSManagedObjectContexts)You can refer to the README for how to implement common tasks.
@sunkehappy commented on GitHub (Oct 16, 2017):
That would be very hard for users like me to transfer from MagicalRecord to this project because it would take a long time to rewrite everything. That's too risky. I should think twice before take any action.