Skip to content

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 save your schema document for later use and you can export your entities in Swift, Objective-C and Java.

License

Notifications You must be signed in to change notification settings

nikolay-kapustin/RealmObjectEditor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Generated Files

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.

alt tag alt tag alt tag alt tag

Installation

Kindly clone the project, and build it using Xcode 6.1+ on any Mac OS X 10.10 or above.

To Do

  • Preview the entities and their relationships in graph-alike diagram.
  • Support undo and redo.

History log:

  • 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.

License

Realm Object Editor is available under MIT license.

About

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 save your schema document for later use and you can export your entities in Swift, Objective-C and Java.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%