Creating a New App
RubyMotion exists on the command line, so you should know the basics of navigating around a shell. The motion command is installed when you run the RubyMotion installer. It’s equivalent to the rails command in the Ruby realm. motion manages individual projects in addition to the core RubyMotion tools. For example, motion update automatically updates RubyMotion and motion support lets you file bug reports.
Let’s open a terminal and navigate to where you want to create your RubyMotion projects. We’re going to create a few projects over the course of this book, so your work area should preferably be somewhere without any other files or folders. Once you’ve picked that out, run motion create HelloMotion.
| | $ motion |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access