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

Your first RubyMotion Application

Amit Kumar
September 13, 2012

Your first RubyMotion Application

Amit Kumar

September 13, 2012
Tweet

More Decks by Amit Kumar

Other Decks in Technology

Transcript

  1. About me • Ruby’ist • Consultant: Tata Consultancy Services Ltd

    • Github: toamitkumar • Twitter: toamit
  2. About me • Ruby’ist • Consultant: Tata Consultancy Services Ltd

    • Github: toamitkumar • Twitter: toamit • toamitkumar.github.com
  3. revolutionary toolchain for native iOS application development using Ruby language

    neighbor's envy coder’s delight; happiness; RubyMotion
  4. Fork of MacRuby Automatic object memory allocation and reclaim A

    What ?? Compiles into optimized machine code
  5. Fork of MacRuby Automatic object memory allocation and reclaim A

    What ?? Compiles into optimized machine code
  6. Ruby-runtime tightly integrated with Obj-C runtime Fork of MacRuby Automatic

    object memory allocation and reclaim A What ?? Compiles into optimized machine code
  7. Ruby-runtime tightly integrated with Obj-C runtime Fork of MacRuby Automatic

    object memory allocation and reclaim A What ?? Same ancestor as Obj-C Compiles into optimized machine code
  8. Ruby-runtime tightly integrated with Obj-C runtime Fork of MacRuby Object

    can be shared with no performance cost Automatic object memory allocation and reclaim A What ?? Same ancestor as Obj-C Compiles into optimized machine code
  9. The Soul Console REPL - Read Evaluate Print Loop You

    feel in-control An excellent in-browser demo of REPL: https://www.pieceable.com/rubymotion-console
  10. RubyGems Normal RubyGems won’t work Load gems in Rakefile of

    the application Use Bundler source :rubygems gem 'rake' gem 'bubble-wrap' gem 'motion-cocoapods' gem 'motion-redgreen' Gemfile
  11. RubyGems Normal RubyGems won’t work Load gems in Rakefile of

    the application Use Bundler source :rubygems gem 'rake' gem 'bubble-wrap' gem 'motion-cocoapods' gem 'motion-redgreen' Gemfile
  12. RubyGems Normal RubyGems won’t work Load gems in Rakefile of

    the application Use Bundler source :rubygems gem 'rake' gem 'bubble-wrap' gem 'motion-cocoapods' gem 'motion-redgreen' Gemfile require ‘bundler’ Bundler.require Rakefile
  13. The ‘Survey’ app Dynamically create Surveys on the fly without

    code compilation Survey question data is JSON based
  14. The ‘Survey’ app Dynamically create Surveys on the fly without

    code compilation Survey question data is JSON based Controls for question should be controlled by JSON
  15. The ‘Survey’ app Dynamically create Surveys on the fly without

    code compilation Survey question data is JSON based Collect response in JSON and make a server API call to POST data Controls for question should be controlled by JSON