RubyMotionUsing Ruby to build iOS apps
iOS DevelopmentObjective CLuaRuby!  April 28 released (beta)  http://www.rubymotion.com
RubyMotionNOT free - $199*requires* iOS Developer license aswell (so + $99)
RubyIt’s Ruby!  gemsbundler  http://thunderboltlabs.com/posts/  using-bundler-with-rubymotion
iOS DevelopmentObj-C  Xcode  AppCode (JetBRAINS)Ruby  Any text editor (vi, emacs, Sublime)  RubyMine        http://www.jet...
LibrariesCocoaPods  gem install cocoapods  pod setup  gem install motion-cocoapods“Vendoring”
iOS DevelopmentInterface BuilderStoryBoardsJust copy your storyboard file into‘resources’ and GO!
StoryboardsRubyMotionSamples  https://github.com/HipByte/  RubyMotionSamplesib gem  https://github.com/yury/ibnitron proje...
DSL’steacup  https://github.com/rubymotion/teacupmotion-layouts  https://github.com/malkomalko/motion-layoutsSimpleView  h...
Librariesgems!lots of!
Bubblewrapnice wrapper functionsnow part of RubyMotion projecthttp://bubblewrap.io
Code (Obj-C)NSDictionary *rules = [NSDictionarydictionaryWithObjectsAndKeys:[NSNumberNumberWithBool:TRUE],"RubyMotionIsAwe...
Code (Ruby)rules = { ‘RubyMotionIsAwesome’ => 1 }
Named Parametersself.navigationController.pushViewController(view_controller,animated:true)
Ruby ToolingGuardCode CoverageContinuous BuildsRSpec
Testingspec/main_spec.rb  mostly boilerplate in examples  Frank/Cucumber  Functional testing (UIAutomation)
DocumentationRubyMotion site has tonnesBuy Dash.   Really.  Ruby & iOS API docs, searchable,  easy
RubyMotion Introduction
RubyMotion Introduction
RubyMotion Introduction
Upcoming SlideShare
Loading in...5
×

RubyMotion Introduction

1,998

Published on

Using Ruby to build iOS apps

Published in: Technology
1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total Views
1,998
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
18
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide
  • \n
  • Go to http://www.rubymotion.com\n
  • Lifted from Tim Riley’s talk - https://speakerdeck.com/u/timriley/p/introduction-to-rubymotion\n
  • \n
  • \n
  • http://www.jetbrains.com/ruby/\n
  • \n
  • Also lifted from Tim Riley’s talk - https://speakerdeck.com/u/timriley/p/introduction-to-rubymotion\n
  • Just copy your nib or storyboard file into your rubymotion project’s “resources” directory and go\n\nDemo!\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • RubyMotion Introduction

    1. 1. RubyMotionUsing Ruby to build iOS apps
    2. 2. iOS DevelopmentObjective CLuaRuby! April 28 released (beta) http://www.rubymotion.com
    3. 3. RubyMotionNOT free - $199*requires* iOS Developer license aswell (so + $99)
    4. 4. RubyIt’s Ruby! gemsbundler http://thunderboltlabs.com/posts/ using-bundler-with-rubymotion
    5. 5. iOS DevelopmentObj-C Xcode AppCode (JetBRAINS)Ruby Any text editor (vi, emacs, Sublime) RubyMine http://www.jetbrains.com/ruby/
    6. 6. LibrariesCocoaPods gem install cocoapods pod setup gem install motion-cocoapods“Vendoring”
    7. 7. iOS DevelopmentInterface BuilderStoryBoardsJust copy your storyboard file into‘resources’ and GO!
    8. 8. StoryboardsRubyMotionSamples https://github.com/HipByte/ RubyMotionSamplesib gem https://github.com/yury/ibnitron project (hold)
    9. 9. DSL’steacup https://github.com/rubymotion/teacupmotion-layouts https://github.com/malkomalko/motion-layoutsSimpleView https://github.com/simon/SimpleViewFormotion https://github.com/clayallsopp/formotion
    10. 10. Librariesgems!lots of!
    11. 11. Bubblewrapnice wrapper functionsnow part of RubyMotion projecthttp://bubblewrap.io
    12. 12. Code (Obj-C)NSDictionary *rules = [NSDictionarydictionaryWithObjectsAndKeys:[NSNumberNumberWithBool:TRUE],"RubyMotionIsAwesome",nil];
    13. 13. Code (Ruby)rules = { ‘RubyMotionIsAwesome’ => 1 }
    14. 14. Named Parametersself.navigationController.pushViewController(view_controller,animated:true)
    15. 15. Ruby ToolingGuardCode CoverageContinuous BuildsRSpec
    16. 16. Testingspec/main_spec.rb mostly boilerplate in examples Frank/Cucumber Functional testing (UIAutomation)
    17. 17. DocumentationRubyMotion site has tonnesBuy Dash. Really. Ruby & iOS API docs, searchable, easy
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×