RLMAnyValueType
Objective-C
enum RLMAnyValueType : int32_t {}
Swift
@_nonSendable(_assumed) @frozen enum RLMAnyValueType : Int32, @unchecked Sendable
RLMAnyValueType
is an enumeration describing all property types supported by RLMValue (AnyRealmValue).
For more information, see Realm Models.
-
Integers:
NSInteger
,int
,long
,Int
(Swift)Declaration
Objective-C
RLMAnyValueTypeInt = 0
Swift
case int = 0
-
Booleans:
BOOL
,bool
,Bool
(Swift)Declaration
Objective-C
RLMAnyValueTypeBool = 1
Swift
case bool = 1
-
Floating-point numbers:
float
,Float
(Swift)Declaration
Objective-C
RLMAnyValueTypeFloat = 5
Swift
case float = 5
-
Double-precision floating-point numbers:
double
,Double
(Swift)Declaration
Objective-C
RLMAnyValueTypeDouble = 6
Swift
case double = 6
-
NSUUID, UUID
Declaration
Objective-C
RLMAnyValueTypeUUID = 12
Swift
case UUID = 12
-
Strings:
NSString
,String
(Swift)Declaration
Objective-C
RLMAnyValueTypeString = 2
Swift
case string = 2
-
Binary data:
NSData
Declaration
Objective-C
RLMAnyValueTypeData = 3
Swift
case data = 3
-
Any type:
id<RLMValue>
,AnyRealmValue
(Swift)Declaration
Objective-C
RLMAnyValueTypeAny = 9
Swift
case any = 9
-
Dates:
NSDate
Declaration
Objective-C
RLMAnyValueTypeDate = 4
Swift
case date = 4
-
Dates:
NSDate
Declaration
Objective-C
RLMAnyValueTypeObjectId = 10
Swift
case objectId = 10
-
Dates:
NSDate
Declaration
Objective-C
RLMAnyValueTypeDecimal128 = 11
Swift
case decimal128 = 11
-
Realm model objects. See Realm Models for more information.
Declaration
Objective-C
RLMAnyValueTypeObject = 7
Swift
case object = 7
-
Realm linking objects. See Realm Models for more information.
Declaration
Objective-C
RLMAnyValueTypeLinkingObjects = 8
Swift
case linkingObjects = 8
-
Dictionary:
RLMDictionary
,Map
(Swift)Declaration
Objective-C
RLMAnyValueTypeDictionary = 512
Swift
case dictionary = 512
-
Set:
RLMArray
,List
(Swift)Declaration
Objective-C
RLMAnyValueTypeList = 128
Swift
case list = 128