Referencing Entity from external data model - Core Data
Posted
by Ben Reeves
on Stack Overflow
See other posts from Stack Overflow
or by Ben Reeves
Published on 2010-03-26T10:21:26Z
Indexed on
2010/03/26
13:03 UTC
Read the original article
Hit count: 421
I have a external library which includes a core data model, I would like to add a new entity to this model which has a relationship with one of the entities from the library. I know I could modify the original, but is there a way to without needing to pollute the library?
I tried just creating a new model with an entity named the same, but that doesn't work:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Can't merge models with two different entities named 'Host''
© Stack Overflow or respective owner