Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的核心数据模型中有 2 个不同的实体:项目和问题。每种类型都有独特的属性,所以我想为每个实体使用不同的 UTI 文档类型。每个 UTI 文档类型都应该有一个扩展名。不幸的是, NSPersistentStoreCoordinator 只允许设置一个文件扩展名。
所以我的问题是如何导出具有相同扩展名的多个文档类型。
你有没有在target->Get Info->Properties中尝试过这样的事情:
我没有测试过,但我认为这样的事情会起作用。
这是不可能的(Mac OS X 10.6)。