Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby on Rails => RubyMotion

Ruby on Rails => RubyMotion

Ben Golden and Tim Segraves present the journey of 2 Rails developers exploring the world of iOS development with RubyMotion.

Avatar for Tim Segraves

Tim Segraves

January 15, 2013
Tweet

Other Decks in Programming

Transcript

  1. Ruby on Rails => Ruby Motion Presenters: Ben Golden and

    Tim Segraves SendGrid Software Engineers Date: January 15, 2013 Tuesday, January 15, 13
  2. Agenda • Our Background • What is Ruby Motion •

    How to Get Started • Useful Resources • Demo • Questions Tuesday, January 15, 13
  3. Ben Golden • Rails Developer • Aspiring Brewer • Mobile

    Experience • Several For Fun Android Apps •Favorite Beer Style: Stouts and IPAs Tuesday, January 15, 13
  4. Tim Segraves • Rails Developer • Mobile Experience • 2

    Days Xcode/iOS • 1 Sencha and 1 JQuery Mobile app • Favorite Beer Style: Imperial IPA Tuesday, January 15, 13
  5. The Setup • Make sure XCode is installed (and updated)

    • Install RubyMotion • From Terminal: •motion create project Tuesday, January 15, 13
  6. BubbleWrap • Helpers and Wrappers for CocoaTouch • Some Utilities

    Included: • HTTP • JSON • GeoLocation • Camera • Notifications http://bubblewrap.io Tuesday, January 15, 13
  7. SugarCube • Syntactic Sugar for your Cocoa • "#ff00ff".uicolor ==

    :fuchsia.uicolor == 0xff00ff.uicolor • # => UIColor.colorWithRed(1.0, green:0.0, blue:1.0, alpha:1.0) • "https://github.com".nsurl.open • # => UIApplication.sharedApplication.openURL(NSURL.URLWithString("https:// github.com")) http://git.io/sugarcube Tuesday, January 15, 13
  8. Motion CocoaPods • Integrate With CocoaPods • Use pods such

    as JSONKit or CorePlot app.pods do pod 'CorePlot' end http://git.io/motionpods Tuesday, January 15, 13
  9. Ruby, but not. • Ruby Motion means writing 100% ruby

    • Ruby Motion does NOT mean reading 100% ruby • Still feels a lot like ruby with the right tools Tuesday, January 15, 13