Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Convert Objective-C code output by PaintCode into code to be used in RubyMotion.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
PaintMotion.app/Contents
README.md
script.rb

README.md

PaintMotion.app

Converts Objective-C code output by PaintCode into code usable in RubyMotion.

Screencast

Here you can see the app in action:

https://vimeo.com/50870423

Using the App

I recommend placing the app in your Dock for convienence.

  1. Create your project in PaintCode like usual.
  2. Copy the code output to your clipboard.
  3. Click on PaintMotion.app in the Dock.
  4. Paste the converted code into your RubyMotion project.

WARNING

This is a crude Automator app that runs a Ruby script for with a big ugly set of regular expressions. I have no idea what works and what doesn't, but it should at least convert a very large chunk of your code.

Something went wrong with that request. Please try again.