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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ignacio Piantanida
October 24, 2014
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ruby on your pocket with RubyMotion - RubyConfAr 2014
Ignacio Piantanida
October 24, 2014
Other Decks in Programming
See All in Programming
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.3k
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1k
Contextとはなにか
chiroruxx
1
370
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
150
はてなアカウント基盤 State of the Union
cockscomb
1
840
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
14
7.1k
どこまでゆるくて許されるのか
tk3fftk
0
240
Webフレームワークの ベンチマークについて
yusukebe
0
180
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
220
dRuby over BLE
makicamel
2
390
Creating Composable Callables in Contemporary C++
rollbear
0
170
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
220
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
280
Mobile First: as difficult as doing things right
swwweet
225
10k
How to Talk to Developers About Accessibility
jct
2
250
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
450
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
A designer walks into a library…
pauljervisheath
211
24k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
250
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
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!