RLMPropertyType
enum RLMPropertyType : int32_t {}
Property types supported in Realm models.
See Realm Models
-
Integer type: NSInteger, int, long, Int (Swift)
Declaration
Objective‑C
RLMPropertyTypeInt = 0
-
Boolean type: BOOL, bool, Bool (Swift)
Declaration
Objective‑C
RLMPropertyTypeBool = 1
-
Float type: float, Float (Swift)
Declaration
Objective‑C
RLMPropertyTypeFloat = 9
-
Double type: double, Double (Swift)
Declaration
Objective‑C
RLMPropertyTypeDouble = 10
-
String type: NSString, String (Swift)
Declaration
Objective‑C
RLMPropertyTypeString = 2
-
Data type: NSData
Declaration
Objective‑C
RLMPropertyTypeData = 4
-
Any type: id, not supported in Swift
Declaration
Objective‑C
RLMPropertyTypeAny = 6
-
Date type: NSDate
Declaration
Objective‑C
RLMPropertyTypeDate = 8
-
Object type. See Realm Models
Declaration
Objective‑C
RLMPropertyTypeObject = 12
-
Array type. See Realm Models
Declaration
Objective‑C
RLMPropertyTypeArray = 13
-
Linking objects. See Realm Models
Declaration
Objective‑C
RLMPropertyTypeLinkingObjects = 14