Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ruby on your pocket with RubyMotion - RubyConfA...
Search
Ignacio Piantanida
October 24, 2014
Programming
1
110
Ruby on your pocket with RubyMotion - RubyConfAr 2014
Ignacio Piantanida
October 24, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
How to stabilize UI tests using XCTest
akkeylab
0
150
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
240
KagglerがMixSeekを触ってみた
morim
0
350
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
480
Claude Code Skill入門
mayahoney
0
450
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
780
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.2k
20260315 AWSなんもわからん🥲
chiilog
2
180
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
420
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
100
Nuxt Server Components
wattanx
0
210
The free-lunch guide to idea circularity
hollycummins
0
390
Featured
See All Featured
Discover your Explorer Soul
emna__ayadi
2
1.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
A designer walks into a library…
pauljervisheath
210
24k
Visualization
eitanlees
150
17k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
How to make the Groovebox
asonas
2
2.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
91
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Transcript
Ruby on your pocket with
Ignacio Piantanida working at with for github.com/ijpiantanida
What’s RubyMotion? • Implementation of (almost) Ruby 1.9.3 using the
Objective-C runtime and LLVM • Create iOS / OS X native apps • Created by Laurent Sansonetti (Hipbyte)
What’s RubyMotion? • Commercial Product (USD 199/year) • No trial,
but 30 days refund • Closed-source compiler • Open-source build process
Objective-C Ruby VS
Almost Ruby 1.9.3 Mixins (Modules) Open Classes Metaprogramming Procs &
lambda Keeps the Good Part
Almost Ruby 1.9.3 No #eval No #binding No FixNum method
overwriting Statically Compiled No Garbage Collector
Almost Ruby 1.9.3 Named Parameters Objective-C [self dismissViewControllerAnimated:YES completion:NULL];! RubyMotion
self.dismissViewControllerAnimated(true, completion: nil)!
Almost Ruby 1.9.3 Sugar!! Objective-C [self setFont(someFont)];! RubyMotion self.font =
some_font! [self isEnabled];! self.enabled?!
Is not a Bridge! iOS / OS X Objec+ve-‐C
Run+me RubyMo+on Objec+ve-‐C
Is not a Bridge! Class! Based on! Object! NSObject! String!
NSMutableString! Array! NSMutableArray! Hash! NSMutableDictionary! Fixnum! NSNumber! Float! NSNumber! BigDecimal! NSDecimalNumber!
Command Line Based
Xcode
Pods & Gems +3000 pods +500 gems
Testing MacBacon – RSpec clone
Demo
Android sudo motion update --pre!
Thank You http://dev.10pines.com @10Pines we’re hiring!