Giter Club home page Giter Club logo

realmobjecteditor's Introduction

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.

realmobjecteditor's People

Contributors

ahmed-ali avatar berbschloe avatar buk avatar dcramps avatar perfaram avatar verachadw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.