Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to split an entity in Core Data migration mapping

It seems like this should be straight forward but I have not been able to find a good example of it. I have a simple Core Data entity that I want to split into two separate entities. Apple's documentation mentions it at a high level (Mapping Overview), however, it is unclear what the actual mapping model should look like to associate the relationship to the new split out entity back to the original.

like image 338
Greg Martin Avatar asked Dec 10 '09 23:12

Greg Martin


1 Answers

OK, I have found my own answer to this one and have detailed it in this blog post: https://slalomdotcom.wordpress.com/2010/01/08/splitting-an-entity-in-a-coredata-migration/

like image 78
Greg Martin Avatar answered Oct 28 '22 05:10

Greg Martin