I have created my Model, Entities, Properties and Relationships in Xcode. How are the classes for my Entities created? Do I have to manually create them?
You can do this without leaving Xcode at all (see end of answer for XCode 4 instructions):
I picked this up on page 143 of More iPhone 3 Development
Alternatively, you can just select one or more of the entities in the entity list, as shown below:
And then press ⌘N to bring up the New file dialog shown above. If you accept the default location using this alternative, the generated classes will be put under your .xcdatamodel. Drag them manually to classes (Ref: Stanford, Developing Apps for iOS: ep. 12. Core Data and Table Views).
For XCode 4, simply bring up the New file dialog (⌘N) and select NSManagedObject subclass from Core Data. The wizard will ask you for which enities it should create classes.
You can also use mogenerator. It now includes Xmo’d which seamlessly integrates mogenerator into Xcode.
You can also try MotoSwift.
With Xcode 4.3+, you can just :
And it's done !