Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode4 fails to generate NSManagedObject subclass properly

I created a model using the model Editor in XCode4. After a short while I decided to rename my entities.

That worked well but when I try to generate a NSManagedObject sublass from them, XCode generate them with the old entity/class name.

Is this a known bug?

like image 466
Alexander Theißen Avatar asked Jun 06 '11 18:06

Alexander Theißen


1 Answers

I solved it. This isn't a bug. If you click on the Entity you have to change the class name in the inspector, too.

like image 195
Alexander Theißen Avatar answered Oct 03 '22 15:10

Alexander Theißen