Objective-C to Rubymotion Converter: Use it at http://objc2rubymotion.herokuapp.com/
Based on the Sublime-ObjcToRubyMotion plugin. Inspiration to the Atom-Objc2Rubymotion plugin.
Coffeescript mostly; on Sinatra. Currently performs the following conversions:
- removes semicolons at end of lines
- replaces NSString with ruby strings
- converts square bracketed
[method message]
calls tomethod.message
calls, and reformats their arguments - removes
autorelease
declarations - removes removes type declarations
View the list of tests for a full list of conversions that are performed.
Install it locally.
$ bundle install
Run it:
$ shotgun -p 3000
Then:
- Visit it:
http://localhost:3000
- Test it:
http://localhost:3000/test