core data - How to alter the class of a coredata entity to a subclass -


i have coredata model parent entity type, , other entities subclasses of parent.

during runtime, first creating entities instances of parent class.

later on, want able specialize these entities become instances of subclass. want alter class of entities. change want make :

entity.class = parent -> entity.class = child

does coredata offer way cleanly, or have manually, removing instance of parent class , create instance of subclass, filling attributes of parent ?

thank help.

you have create new object of child entity , delete previous object. entity of managed object cannot changed after object has been created.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -