Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Core Data entity name with Lightweight migration?

Is there a way to change the name of a Core Data entity name while still using "Automatic Lightweight Migration" on iOS?

like image 470
Jason Avatar asked May 19 '11 20:05

Jason


1 Answers

In the destination model, set the renaming identifier to the name of the entity in the source model.

In Xcode 3, the renaming identifier is in the User Info pane of the Detail Pane, below the version hash modifier.

In Xcode 4, it's in the right hand (Utilities) below Versioning.

like image 169
hwaxxer Avatar answered Oct 17 '22 01:10

hwaxxer