Skip to content

Instantly share code, notes, and snippets.

@davekapp
Created August 23, 2012 15:57
Show Gist options
  • Save davekapp/3437970 to your computer and use it in GitHub Desktop.
Save davekapp/3437970 to your computer and use it in GitHub Desktop.
RubyMotion cheat sheet

RubyMotion cheat sheet

Simulator/Debugger REPL:

  1. To select an interface element, hold command and click on it (must start simulator via RubyMotion for this to work)

  2. To start a new repl session in a new context, use the repl() function (ie: repl(someObject) )

  3. You can see how many sessions you have with sessions() function; you can exit a REPL session with quit or exit functions

Building:

  1. you can have multiple jobs running at once - rake jobs=5 (this uses multiple threads, so don't get crazy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment