RLMPropertyType
Objective-C
enum RLMPropertyType : int32_t {}
Swift
@_nonSendable(_assumed) @frozen enum RLMPropertyType : Int32, @unchecked Sendable
RLMPropertyType is an enumeration describing all property types supported in Realm models.
For more information, see Realm Models.
-
Integers:
NSInteger,int,long,Int(Swift)Declaration
Objective-C
RLMPropertyTypeInt = 0Swift
case int = 0 -
Booleans:
BOOL,bool,Bool(Swift)Declaration
Objective-C
RLMPropertyTypeBool = 1Swift
case bool = 1 -
Floating-point numbers:
float,Float(Swift)Declaration
Objective-C
RLMPropertyTypeFloat = 5Swift
case float = 5 -
Double-precision floating-point numbers:
double,Double(Swift)Declaration
Objective-C
RLMPropertyTypeDouble = 6Swift
case double = 6 -
NSUUID, UUID
Declaration
Objective-C
RLMPropertyTypeUUID = 12Swift
case UUID = 12
-
Strings:
NSString,String(Swift)Declaration
Objective-C
RLMPropertyTypeString = 2Swift
case string = 2 -
Binary data:
NSDataDeclaration
Objective-C
RLMPropertyTypeData = 3Swift
case data = 3 -
Any type:
id<RLMValue>,AnyRealmValue(Swift)Declaration
Objective-C
RLMPropertyTypeAny = 9Swift
case any = 9 -
Dates:
NSDateDeclaration
Objective-C
RLMPropertyTypeDate = 4Swift
case date = 4 -
Dates:
NSDateDeclaration
Objective-C
RLMPropertyTypeObjectId = 10Swift
case objectId = 10 -
Dates:
NSDateDeclaration
Objective-C
RLMPropertyTypeDecimal128 = 11Swift
case decimal128 = 11
-
Realm model objects. See Realm Models for more information.
Declaration
Objective-C
RLMPropertyTypeObject = 7Swift
case object = 7 -
Realm linking objects. See Realm Models for more information.
Declaration
Objective-C
RLMPropertyTypeLinkingObjects = 8Swift
case linkingObjects = 8
View on GitHub
Install in Dash