$30 off During Our Annual Pro Sale. View Details »
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
AIコーディングエージェント(Manus)
kondai24
0
160
Microservices rules: What good looks like
cer
PRO
0
1k
AWS CDKの推しポイントN選
akihisaikeda
1
240
sbt 2
xuwei_k
0
240
AIエンジニアリングのご紹介 / Introduction to AI Engineering
rkaga
5
1.9k
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
140
ゲームの物理 剛体編
fadis
0
310
スタートアップを支える技術戦略と組織づくり
pospome
8
16k
関数の挙動書き換える
takatofukui
4
780
手が足りない!兼業データエンジニアに必要だったアーキテクチャと立ち回り
zinkosuke
0
560
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
420
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
430
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
700
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Agile that works and the tools we love
rasmusluckow
331
21k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.3k
We Have a Design System, Now What?
morganepeng
54
7.9k
The Language of Interfaces
destraynor
162
25k
Optimizing for Happiness
mojombo
379
70k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
Bash Introduction
62gerente
615
210k
Facilitating Awesome Meetings
lara
57
6.7k
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!