Realm Object Editor
Realm Object Editor is a visual editor where you can create your Realm entities, attributes and relationships inside a nice user interface. Once you finish, you can export your schema document for later use and you can export your objects in Swift, Objective-C and Java.
Using Realm Object Editor you will be able to:
- Create Realm Entities.
- Create the entities attributes and define the properties for each attribute (primary key, index, ignored, default value, etc...)
- Create one-to-one, one-to-many and many-to-many relationships.
- Set a perant class for each entity (the default is RLMObject for cocoa-based entities and RealmObject for Java entities)
- Export the designed schema into Swift, Objective-C or Java for Android.
Each generated file, besid the getters and setters (for Java) will include:
- The defination for the primary key.
- The defination for indexed attributes.
- The defination for the ignored attributes.
- The defination for the desired attributes' default values.
Realm Object Editor in action
The following screenshots should give you an idea of how the ROE works.
Kindly clone the project, and build it using Xcode 6.1+ on any Mac OS X 10.10 or above.
- Preview the entities and their relationships in graph-alike diagram.
- Support undo and redo.
- Merged pull requests #19
- Removed depraced "Range" calls for strings
- Fixed issue #15
- Merged pull requests #12, #13 and #14
- Merged PR #8 for Swift 2.0 and Xcode 7 support.
- Fixed issue #3 which causes default values to disappear.
- Merged PR #6 to add support for Kotlin language.
- Minor fixes including Swift 1.2 compatability.
- Initial release.
Realm Object Editor is available under MIT license.