NSAttributeDescription.AttributeType
The types of attributes that Core Data supports.
Declaration
struct AttributeTypeOverview
Core Data attribute types explicitly distinguish between bit size. This allows their values to exist independent of the persistent store that contains them. A scalar option is available for a number of attribute types, in some cases by default.
Attribute type | Type | Scalar type | Scalar by default |
|---|---|---|---|
Integer 16 | Yes | ||
Integer 32 | Yes | ||
Integer 64 | Yes | ||
Double | Yes | ||
Float | Yes | ||
Boolean | Yes | ||
Date | No | ||
Decimal | No | ||
UUID | No | ||
URI | — | — | |
String | — | — | |
Binary data | — | — | |
Transformable | — | — | |
Composite | — | — | — |
Undefined | — | — | — |