Declared in RLMConstants.h

RLMPropertyType

Property types supported in Realm models.

See Realm Models

Definition

typedef NS_ENUM(int32_t, RLMPropertyType ) {
   RLMPropertyTypeInt = 0,
   RLMPropertyTypeBool = 1,
   RLMPropertyTypeFloat = 9,
   RLMPropertyTypeDouble = 10,
   RLMPropertyTypeString = 2,
   RLMPropertyTypeData = 4,
   RLMPropertyTypeAny = 6,
   RLMPropertyTypeDate = 7,
   RLMPropertyTypeObject = 12,
   RLMPropertyTypeArray = 13,
};

Constants

RLMPropertyTypeInt

Integer type: NSInteger, int, long, Int (Swift)

Declared In RLMConstants.h.

RLMPropertyTypeBool

Boolean type: BOOL, bool, Bool (Swift)

Declared In RLMConstants.h.

RLMPropertyTypeFloat

Float type: float, Float (Swift)

Declared In RLMConstants.h.

RLMPropertyTypeDouble

Double type: double, Double (Swift)

Declared In RLMConstants.h.

RLMPropertyTypeString

String type: NSString, String (Swift)

Declared In RLMConstants.h.

RLMPropertyTypeData

Data type: NSData

Declared In RLMConstants.h.

RLMPropertyTypeAny

Any type: id, not supported in Swift

Declared In RLMConstants.h.

RLMPropertyTypeDate

Date type: NSDate

Declared In RLMConstants.h.

RLMPropertyTypeObject

Object type. See Realm Models

Declared In RLMConstants.h.

RLMPropertyTypeArray

Array type. See Realm Models

Declared In RLMConstants.h.

Declared In

RLMConstants.h