iWi*_*ard 6 iphone xcode attributes core-data objective-c
我搜索了Core Data属性类型但没有成功.
当我打开我的实体和属性时,有几种类型:
等等
我很感兴趣,如果有一些Apple页面解释了每种属性的使用类型.
例如,我需要一个属性类型,我将保存大约1000个字符的字符串.我对这种类型的插入使用哪种属性类型?
感谢帮助
在NSAttributeDescription 类引用常数部分提供:
typedef enum {
NSUndefinedAttributeType = 0,
NSInteger16AttributeType = 100,
NSInteger32AttributeType = 200,
NSInteger64AttributeType = 300,
NSDecimalAttributeType = 400,
NSDoubleAttributeType = 500,
NSFloatAttributeType = 600,
NSStringAttributeType = 700,
NSBooleanAttributeType = 800,
NSDateAttributeType = 900,
NSBinaryDataAttributeType = 1000,
NSTransformableAttributeType = 1800,
NSObjectIDAttributeType = 2000
} NSAttributeType;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5158 次 |
| 最近记录: |