O'Reilly logo

RubyMotion by Clay Allsopp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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​​ ​​

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required