Using Ruby for iOS development
summary
RubyMotion compiles Ruby to native machine code via LLVM and claims to let Ruby behave like Obj‑C on iOS: compiles Ruby to native machine code via LLVM, use Objective‑C classes directly with no bridge. Tooling includes a REPL, rake tasks for build/archive/debug, bundler/motion gems and CocoaPods support, and test support (MacBacon/RSpec) plus storyboard loading. Missing runtime require/eval is deliberate; the build is static and licensed. Demo shows REPL edits a controller view live and debugging now uses gdb/IDE hooks.
AI-written summary · about
chapters (25)
- 0:00Introduction
- 1:49What is RubyMotion and its origins
- 3:16Ruby to iOS compilation
- 5:01Ruby and Objective-C mix
- 6:26Ruby blocks with Objective-C
- 7:09RubyMotion metaprogramming
- 8:55RubyMotion setup
- 9:38First RubyMotion app
- 10:40Building RubyMotion apps
- 11:42RubyMotion build system
- 12:23Key Rake tasks
- 13:45RubyMotion legacy integration
- 14:49RubyMotion config options
- 16:33Rake command-line
- 17:39Demo: Simple app
- 21:18Debugging RubyMotion
- 24:47RubyMotion libraries
- 27:13Pix8 CSS styling
- 28:36Objective-C in RubyMotion
- 30:02RubyMotion with CocoaPods
- 31:09Native C in RubyMotion
- 32:14Interface Builder in RubyMotion
- 33:37Testing RubyMotion
- 34:41RubyMotion API documentation resources
- 35:04Q&A
related talks
30mRubyMotion: Ruby in your pocket
33mRubyMotion: Rubyizing iOS development
39mRubyMotion under the Hood
50mInside RubyMotion
34mThe future of Ruby is in motion!
22mRuby on your pocket with RubyMotion
28mRubymotion - iOS and OSX development from a Ruby developer's perspective
37mBuilding iOS Apps with RubyMotion
