Inherits from NSObject
Declared in RLMProperty.h
RLMProperty.mm

Overview

This class models properties persisted to Realm in an RLMObjectSchema.

When using Realm, RLMProperty objects allow performing migrations and introspecting the database’s schema.

These properties map to columns in the core database.

Tasks

Properties

indexed

Indicates if this property is indexed.

@property (nonatomic, readonly) BOOL indexed

See Also

Declared In

RLMProperty.h

name

Property name.

@property (nonatomic, readonly) NSString *name

Declared In

RLMProperty.h

objectClassName

Object class name - specify object types for RLMObject and RLMArray properties.

@property (nonatomic, readonly, copy, nullable) NSString *objectClassName

Declared In

RLMProperty.h

optional

Whether this property is optional.

@property (nonatomic, readonly) BOOL optional

Declared In

RLMProperty.h

type

Property type.

@property (nonatomic, readonly) RLMPropertyType type

See Also

Declared In

RLMProperty.h

Instance Methods

isEqualToProperty:

Returns YES if property objects are equal.

- (BOOL)isEqualToProperty:(RLMProperty *)property

Declared In

RLMProperty.h