Skip to content

Core Data to Realm Ruby script to quickly generate Realm classes from Core Data xml schema

Notifications You must be signed in to change notification settings

bontoJR/CD2Realm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core Data 2 Realm

This is an experimental script written in ruby to convert a Core Data xml schema (named contents.xml) to Realm classes in Swift for a fast and handy usage.

Requirements

This script has been tested and written using Ruby 2.2.1p85.

Quick usage

Clone this repo, access the directory and run:

$ ruby script.rb [path to your contents.xml file]

The output will be a list of .swift files under output directory.

About

Core Data to Realm Ruby script to quickly generate Realm classes from Core Data xml schema

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages