Your first RubyMotion     Application      Amit Kumar
About me
About me• Ruby’ist
About me• Ruby’ist• Consultant: Tata Consultancy Services Ltd
About me• Ruby’ist• Consultant: Tata Consultancy Services Ltd• Github: toamitkumar
About me• Ruby’ist• Consultant: Tata Consultancy Services Ltd• Github: toamitkumar• Twitter: toamit
About me• Ruby’ist• Consultant: Tata Consultancy Services Ltd• Github: toamitkumar• Twitter: toamit• toamitkumar.github.com
RubyMotion
RubyMotion
RubyMotionrevolutionary toolchain for native iOS application development using Ruby language
RubyMotionrevolutionary toolchain for native iOS application development using Ruby language                              ...
A What ??
A What ??
A What ??Fork of MacRuby
A What ??Fork of MacRuby          Compiles into optimized machine code
A What ??Fork of MacRuby                                  Compiles into optimized machine codeAutomatic object memory allo...
A What ??Fork of MacRuby                 Compiles into optimized machine codeAutomatic object memory allocation and reclaim
A What ??Fork of MacRuby                                      Compiles into optimized machine codeAutomatic object memory ...
A What ??Fork of MacRuby                                      Compiles into optimized machine codeAutomatic object memory ...
A What ??Fork of MacRuby                                      Compiles into optimized machine codeAutomatic object memory ...
Download & Install
Download & Install
Download & Installhttp://sites.fastspring.com/hipbyte/product/rubymotion
The ‘motion’ command
The ‘motion’ command
The ‘motion’ command
The ‘motion’ command
The ‘motion’ command
The ‘motion’ commandProtip: Forcing update to a particular version:
The ‘motion’ commandProtip: Forcing update to a particular version:
The ‘motion’ commandProtip: Forcing update to a particular version:sudo motion update --force-version=1.2
The ‘motion’ command
The ‘motion’ commandthe ‘motion’ support
The ‘motion’ commandthe ‘motion’ support
The ‘motion’ commandthe ‘motion’ support
The ‘motion’ commandthe ‘motion’ support
The famous ‘Rake’
The famous ‘Rake’
The famous ‘Rake’
The famous ‘Rake’
The famous ‘Rake’
The famous ‘Rake’
The famous ‘Rake’
Configuration ‘options’
Configuration ‘options’
Configuration ‘options’
Configuration ‘options’
Configuration ‘options’
Configuration ‘options’
The Soul
The SoulConsole REPL - Read Evaluate Print Loop
The SoulConsole REPL - Read Evaluate Print Loop     You feel in-control
The SoulConsole REPL - Read Evaluate Print LoopYou feel in-control
The Soul                     Console REPL - Read Evaluate Print Loop                     You feel in-controlAn excellent i...
RubyGems
RubyGemsNormal RubyGems won’t work
RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the application
RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the applicationUse Bundler
RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the applicationUse Bundler
RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the application                              source :rubygems   ...
RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the application                              source :rubygems   ...
RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the application                              source :rubygems   ...
RubyGems contd...
RubyGems contd...Bubblewrap
RubyGems contd...Bubblewrapteacup
RubyGems contd...Bubblewrapteacupsugarcube
RubyGems contd...Bubblewrapteacupsugarcubeformotion
RubyGems contd...BubblewrapteacupsugarcubeformotionNitron
RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreen
RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreenmotion-logger
RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreenmotion-loggerMotionData
RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreenmotion-loggerMotionDataNativeJSBridge
RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreenmotion-loggerMotionDataNativeJSBridgeSegmentTab
SURVEY APP
The ‘Survey’ app
The ‘Survey’ appDynamically create Surveys on the fly without code compilation
The ‘Survey’ appDynamically create Surveys on the fly without code compilationSurvey question data is JSON based
The ‘Survey’ appDynamically create Surveys on the fly without code compilationSurvey question data is JSON basedControls fo...
The ‘Survey’ app Dynamically create Surveys on the fly without code compilationSurvey question data is JSON basedControls f...
The ‘Survey’ app
The ‘Survey’ app   JSON Structure
The ‘Survey’ app   JSON Structure
The ‘Survey’ app   JSON Structure
The ‘Survey’ app   JSON Structure
The ‘Survey’ app   JSON Structure
The ‘Survey’ app   JSON Structure
The ‘Survey’ app   JSON Structure
The ‘Survey’ app  DEMO
THANK YOU
Your fist RubyMotion Application
Upcoming SlideShare
Loading in...5
×

Your fist RubyMotion Application

1,222

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,222
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Your fist RubyMotion Application

    1. 1. Your first RubyMotion Application Amit Kumar
    2. 2. About me
    3. 3. About me• Ruby’ist
    4. 4. About me• Ruby’ist• Consultant: Tata Consultancy Services Ltd
    5. 5. About me• Ruby’ist• Consultant: Tata Consultancy Services Ltd• Github: toamitkumar
    6. 6. About me• Ruby’ist• Consultant: Tata Consultancy Services Ltd• Github: toamitkumar• Twitter: toamit
    7. 7. About me• Ruby’ist• Consultant: Tata Consultancy Services Ltd• Github: toamitkumar• Twitter: toamit• toamitkumar.github.com
    8. 8. RubyMotion
    9. 9. RubyMotion
    10. 10. RubyMotionrevolutionary toolchain for native iOS application development using Ruby language
    11. 11. RubyMotionrevolutionary toolchain for native iOS application development using Ruby language neighbors envy coder’s delight; happiness;
    12. 12. A What ??
    13. 13. A What ??
    14. 14. A What ??Fork of MacRuby
    15. 15. A What ??Fork of MacRuby Compiles into optimized machine code
    16. 16. A What ??Fork of MacRuby Compiles into optimized machine codeAutomatic object memory allocation and reclaim
    17. 17. A What ??Fork of MacRuby Compiles into optimized machine codeAutomatic object memory allocation and reclaim
    18. 18. A What ??Fork of MacRuby Compiles into optimized machine codeAutomatic object memory allocation and reclaimRuby-runtime tightly integrated with Obj-C runtime
    19. 19. A What ??Fork of MacRuby Compiles into optimized machine codeAutomatic object memory allocation and reclaimRuby-runtime tightly integrated with Obj-C runtime Same ancestor as Obj-C
    20. 20. A What ??Fork of MacRuby Compiles into optimized machine codeAutomatic object memory allocation and reclaimRuby-runtime tightly integrated with Obj-C runtime Same ancestor as Obj-C Object can be shared with no performance cost
    21. 21. Download & Install
    22. 22. Download & Install
    23. 23. Download & Installhttp://sites.fastspring.com/hipbyte/product/rubymotion
    24. 24. The ‘motion’ command
    25. 25. The ‘motion’ command
    26. 26. The ‘motion’ command
    27. 27. The ‘motion’ command
    28. 28. The ‘motion’ command
    29. 29. The ‘motion’ commandProtip: Forcing update to a particular version:
    30. 30. The ‘motion’ commandProtip: Forcing update to a particular version:
    31. 31. The ‘motion’ commandProtip: Forcing update to a particular version:sudo motion update --force-version=1.2
    32. 32. The ‘motion’ command
    33. 33. The ‘motion’ commandthe ‘motion’ support
    34. 34. The ‘motion’ commandthe ‘motion’ support
    35. 35. The ‘motion’ commandthe ‘motion’ support
    36. 36. The ‘motion’ commandthe ‘motion’ support
    37. 37. The famous ‘Rake’
    38. 38. The famous ‘Rake’
    39. 39. The famous ‘Rake’
    40. 40. The famous ‘Rake’
    41. 41. The famous ‘Rake’
    42. 42. The famous ‘Rake’
    43. 43. The famous ‘Rake’
    44. 44. Configuration ‘options’
    45. 45. Configuration ‘options’
    46. 46. Configuration ‘options’
    47. 47. Configuration ‘options’
    48. 48. Configuration ‘options’
    49. 49. Configuration ‘options’
    50. 50. The Soul
    51. 51. The SoulConsole REPL - Read Evaluate Print Loop
    52. 52. The SoulConsole REPL - Read Evaluate Print Loop You feel in-control
    53. 53. The SoulConsole REPL - Read Evaluate Print LoopYou feel in-control
    54. 54. The Soul Console REPL - Read Evaluate Print Loop You feel in-controlAn excellent in-browser demo of REPL:  https://www.pieceable.com/rubymotion-console
    55. 55. RubyGems
    56. 56. RubyGemsNormal RubyGems won’t work
    57. 57. RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the application
    58. 58. RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the applicationUse Bundler
    59. 59. RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the applicationUse Bundler
    60. 60. RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the application source :rubygems gem rakeUse Bundler gem bubble-wrap gem motion-cocoapods gem motion-redgreen Gemfile
    61. 61. RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the application source :rubygems gem rakeUse Bundler gem bubble-wrap gem motion-cocoapods gem motion-redgreen Gemfile
    62. 62. RubyGemsNormal RubyGems won’t workLoad gems in Rakefile of the application source :rubygems gem rake require ‘bundler’Use Bundler gem bubble-wrap Bundler.require gem motion-cocoapods gem motion-redgreen Rakefile Gemfile
    63. 63. RubyGems contd...
    64. 64. RubyGems contd...Bubblewrap
    65. 65. RubyGems contd...Bubblewrapteacup
    66. 66. RubyGems contd...Bubblewrapteacupsugarcube
    67. 67. RubyGems contd...Bubblewrapteacupsugarcubeformotion
    68. 68. RubyGems contd...BubblewrapteacupsugarcubeformotionNitron
    69. 69. RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreen
    70. 70. RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreenmotion-logger
    71. 71. RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreenmotion-loggerMotionData
    72. 72. RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreenmotion-loggerMotionDataNativeJSBridge
    73. 73. RubyGems contd...BubblewrapteacupsugarcubeformotionNitronmotion-redgreenmotion-loggerMotionDataNativeJSBridgeSegmentTab
    74. 74. SURVEY APP
    75. 75. The ‘Survey’ app
    76. 76. The ‘Survey’ appDynamically create Surveys on the fly without code compilation
    77. 77. The ‘Survey’ appDynamically create Surveys on the fly without code compilationSurvey question data is JSON based
    78. 78. The ‘Survey’ appDynamically create Surveys on the fly without code compilationSurvey question data is JSON basedControls for question should be controlled by JSON
    79. 79. The ‘Survey’ app Dynamically create Surveys on the fly without code compilationSurvey question data is JSON basedControls for question should be controlled by JSONCollect response in JSON and make a server API call to POST data
    80. 80. The ‘Survey’ app
    81. 81. The ‘Survey’ app JSON Structure
    82. 82. The ‘Survey’ app JSON Structure
    83. 83. The ‘Survey’ app JSON Structure
    84. 84. The ‘Survey’ app JSON Structure
    85. 85. The ‘Survey’ app JSON Structure
    86. 86. The ‘Survey’ app JSON Structure
    87. 87. The ‘Survey’ app JSON Structure
    88. 88. The ‘Survey’ app DEMO
    89. 89. THANK YOU
    1. A particular slide catching your eye?

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

    ×