简体   繁体   中英

iphone - Adding new entity to core data model?

Is adding a new entity on the new version of my core data model going to crash the apps using the older versions of core data model?

What if this entity has a relationship with an existing entity.

oldEntity (1)------------->(oo) newEntity

Sounds like a simple case for versioning, which can be done quite simply in a lot of instances. This sounds like one of them.

Check out the docs here: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreDataVersioning/Introduction/Introduction.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM