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 = 0Swift
case Int -
Boolean type: BOOL, bool, Bool (Swift)
Declaration
Objective‑C
RLMPropertyTypeBool = 1Swift
case Bool -
Float type: float, Float (Swift)
Declaration
Objective‑C
RLMPropertyTypeFloat = 9Swift
case Float -
Double type: double, Double (Swift)
Declaration
Objective‑C
RLMPropertyTypeDouble = 10Swift
case Double
-
String type: NSString, String (Swift)
Declaration
Objective‑C
RLMPropertyTypeString = 2Swift
case String -
Data type: NSData
Declaration
Objective‑C
RLMPropertyTypeData = 4Swift
case Data -
Any type: id. No longer supported in models, but can be migrated from
Declaration
Objective‑C
RLMPropertyTypeAny = 6Swift
case Any -
Date type: NSDate
Declaration
Objective‑C
RLMPropertyTypeDate = 8Swift
case Date
-
Object type. See Realm Models
Declaration
Objective‑C
RLMPropertyTypeObject = 12Swift
case Object -
Array type. See Realm Models
Declaration
Objective‑C
RLMPropertyTypeArray = 13Swift
case Array -
Linking objects. See Realm Models
Declaration
Objective‑C
RLMPropertyTypeLinkingObjects = 14Swift
case LinkingObjects
View on GitHub
Install in Dash
RLMPropertyType Enum Reference