@interface RLMSchema : NSObject <NSCopying>

This class represents the collection of model object schemas persisted to Realm.

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

Schemas map to collections of tables in the core database.

  • An NSArray containing RLMObjectSchemas for all object types in this Realm. Meant to be used during migrations for dynamic introspection.



    @property (readonly, copy, nonatomic)
        NSArray<RLMObjectSchema *> *_Nonnull objectSchema;