Exploring the command line
RubyMotion is based on an underlying principle, "to use the tools which developers love". Therefore, to create an application using RubyMotion, we require only two tools; the first is your favorite editor and the second is the terminal. While developing a RubyMotion application, you will be required to familiarize yourself with the command line. Familiarity with the terminal always helps in faster and comfortable development.
Now that we have created our HelloWorld
application, let us explore a few commands that we have already used, and remember that RubyMotion uses them considerably. These commands are responsible for inaugurating our RubyMotion projects, motion
and rake
.
Motion command – one-stopshop
As used previously, the motion
command creates our RubyMotion project and also supports various other options. The motion
command is similar to the popular framework Ruby on Rails' rails
command. Before we go any further, let's fire up our terminal and see what can...