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.
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.
-
Version 0.0.6
- Merged pull requests #19
- Removed depraced "Range" calls for strings
-
Version 0.0.5
- Fixed issue #15
- Merged pull requests #12, #13 and #14
-
Version 0.0.4
- Merged PR #8 for Swift 2.0 and Xcode 7 support.
-
Version 0.0.3
- Fixed issue #3 which causes default values to disappear.
- Merged PR #6 to add support for Kotlin language.
-
Version 0.0.2
- Minor fixes including Swift 1.2 compatability.
-
Version 0.0.1:
- Initial release.
Realm Object Editor is available under MIT license.