Adding a new RLMObject to an existing Realm - Schema and Migrations
Adding new model classes to a Realm does not require a migration or a schema version bump; only making changes to an existing Realm.
RLMObject Base Model Class with Primary Key - Objective-C
An example of a RLMObject base model class that uses a primary key and some generic default properties. Subclasses can then set metadata specific to their needs.
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0