How to create classes after creating Core Data model in Xcode for iPhone

前端 未结 4 717
Happy的楠姐
Happy的楠姐 2020-12-13 17:06

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?

4条回答
  •  粉色の甜心
    2020-12-13 17:52

    With Xcode 4.3+, you can just :

    • click on your model
    • click the Editor Menu
    • click Create NSManagedObject subclass
    • save the files where you want

    And it's done !

提交回复
热议问题