【发布时间】:2016-01-08 19:11:21
【问题描述】:
【问题讨论】:
-
你试过了吗?它编译了吗?
【问题讨论】:
来自 Apple 的文档:
NSUndefinedAttributeType 对瞬态属性有效——Core Data 仍将属性作为 id 值跟踪并注册撤消/重做操作,等等。 NSUndefinedAttributeType 对于非瞬态属性是非法的。
Type Undefined 用于非标准类型属性。 Xcode 创建 NSManagedObject 子类时,类型为 UNKNOWN_TYPE。
【讨论】: