The following type definitions are available globally.
Provides both the old and new versions of an object in this Realm. Objects properties can only be accessed using keyed subscripting.
typedef void (^RLMObjectMigrationBlock)(RLMObject *_Nullable, RLMObject *_Nullable)
Object in original RLMRealm (read-only).
Object in migrated RLMRealm (read-write).
Block to run when the data in a Realm was modified.
typedef void (^RLMNotificationBlock)(NSString *_Nonnull, RLMRealm *_Nonnull)
Migration block used to migrate a Realm.
typedef void (^RLMMigrationBlock)(RLMMigration *_Nonnull, uint64_t)
RLMMigrationobject used to perform the migration. The migration object allows you to enumerate and alter any existing objects which require migration.
The schema version of the