简体   繁体   English

Xcode 8.0的NSManagedObject子类模板在哪里

[英]Xcode 8.0 where is the NSManagedObject subclass template

After updating to Xcode 8.0, I want to add some NSManagedObject subclasses to my project. 更新到Xcode 8.0后,我想向项目添加一些NSManagedObject子类。

In the previous versions, there was a template with the same name that helped to create the classes for all the core data entities at a time. 在以前的版本中,存在一个具有相同名称的模板,该模板有助于一次为所有核心数据实体创建类。 But I do not find the option under the list of new file templates in Xcode 8.0 但是我在Xcode 8.0的新文件模板列表下找不到该选项

Do I need to create my own template? 我需要创建自己的模板吗? Or there is an other way around? 还是有其他解决方法?

Open your model, and click on Editor > Create NSManagedObject Subclass 打开模型,然后单击编辑器>创建NSManagedObject子类 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM