Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
RubyMotion Cookbook

RubyMotion Cookbook

Ratings: (0)|Views: 874 |Likes:
Published by Greg Santos
Uploaded from Google Docs
Uploaded from Google Docs

More info:

Published by: Greg Santos on Jul 31, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/11/2013

pdf

text

original

 
RubyMotion Cookbook
RubyMotionis a commercial iOS development platform using ruby, which adheres to apple appstorespecification it is built by
Laurent Sansonetti
. In
RubyMotion Cookbook 
I will present solutions for commontasks for building iOS apps, this is based on code published on open source projects, tutorials, porting nativeapps to RubyMotion. You can post your questions / problems / suggestions / sample code / corrections on thislink given below I would try to get a solution and also add it to this book and the accompanying code. Everycontribution would be attributed.https://github.com/railsfactory/rubymotion-cookbook/issues
RubyMotion Cookbook1
 
Installation
I am assuming you already have a mac with OSX Lion and App Store installed.Open the app store, search for xcode, click on it, it is a free app , download it.
Xcode Install
This is a huge file about 1.5GB, so you need to a good connection and have enough time to download in asingle stretch. Make sure you have couple of GB's of free space.Xcode gets installed in /Developer in your hard disk/SSD.For running the app built by you on device you would need a Apple developer account, I would add theinstructions at a later time.
RubyMotion install
Ruby comes preinstalled in OSX Lion, open terminal and check the version.
$ ruby -vruby 1.8.7 (2010-01-10 patchlevel 249)[universal-darwin11.0]
If you are a advanced user you can getRVMand install a custom ruby version.GotoRubyMotion siteand click on thebuy link and buy your RubyMotion License. Rates as on 9th May is 149$ it is a early bird rate so hurry.Download the installerhttp://www.rubymotion.com/files/RubyMotion%20Installer.zip.Please have your license code ready as it asks at this stage.Open the zip file and run the installer.Accept the terms and conditions, enter the license key and begin install, you would be prompted for yoursystem password, once that is done in couple of seconds the install would complete and you are ready to work with RubyMotion.
Installation2

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->