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
MUSUBIXとは
nahisaho
0
140
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
590
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
760
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
310
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
高速開発のためのコード整理術
sutetotanuki
1
400
CSC307 Lecture 03
javiergs
PRO
1
490
Patterns of Patterns
denyspoltorak
0
1.4k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
470
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
今から始めるClaude Code超入門
448jp
8
8.9k
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
2.9k
The SEO Collaboration Effect
kristinabergwall1
0
350
Bash Introduction
62gerente
615
210k
[SF Ruby Conf 2025] Rails X
palkan
1
760
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
WENDY [Excerpt]
tessaabrams
9
36k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
97
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
76
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!