RLMPropertyDescriptor

@interface RLMPropertyDescriptor : NSObject

An RLMPropertyDescriptor instance represents a specific property on a given class.

  • Creates and returns a property descriptor.

    Declaration

    Objective-C

    + (nonnull instancetype)descriptorWithClass:(nonnull Class)objectClass
                                   propertyName:(nonnull NSString *)propertyName;

    Parameters

    objectClass

    The class of this property descriptor.

    propertyName

    The name of this property descriptor.

  • The class of the property.

    Declaration

    Objective-C

    @property (readonly, nonatomic) Class _Nonnull objectClass;
  • The name of the property.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull propertyName;