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.
How to split an entity in Core Data migration mapping
Asked Answered
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/
I get a server not found error when I click on that link. Is it just me? –
Tintinnabulum
Awesome! Gave you mad up rep. –
Tintinnabulum
Just note how relationship is set back in second picture. And if actual Xcode project would help, I used it here: github.com/coodly/ios-gambrinus –
Whitson
© 2022 - 2024 — McMap. All rights reserved.