Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
RubyMotion - How I learned to like iOS despite Objective-C
Thom Parkin
January 10, 2013
Programming
0
310
RubyMotion - How I learned to like iOS despite Objective-C
First talk of the year for Orlando Ruby User Group (ORUG)
Thom Parkin
January 10, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
SHOWROOMの分析目的を意識した伝え方・コミュニケーション
hatapu
0
240
データドリブンな組織の不正検知
fkubota
0
180
Swift Observation
shiz
3
270
フロントエンドで学んだことをデータ分析で使ってみた話
daichi_igarashi
0
180
OSSから学んだPR Descriptionの書き方
fugakkbn
4
130
まだ日本国内で利用できないAppActionsにトライしてみた / MoT TechTalk #15
mot_techtalk
0
110
Quarto Tips for Academic Presentation
nicetak
0
910
xarray-Datatree: Hierarchical Data Structures for Multi-Model Science
tomnicholas
0
210
PHPDocにおける配列の型定義を少し知る
shimabox
1
130
Amebaブログの会員画面システム刷新の道程
ryotasugawara
1
230
状態ってなに?🙃
taro28
0
270
Becoming an Android Librarian (Android World Wide 2023 Jan)
skydoves
1
150
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
159
12k
Scaling GitHub
holman
453
140k
WebSockets: Embracing the real-time Web
robhawkes
58
6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
6
840
4 Signs Your Business is Dying
shpigford
171
20k
The World Runs on Bad Software
bkeepers
PRO
59
5.7k
A better future with KSS
kneath
230
16k
Intergalactic Javascript Robots from Outer Space
tanoku
261
26k
Statistics for Hackers
jakevdp
785
210k
Building Your Own Lightsaber
phodgson
96
4.9k
Practical Orchestrator
shlominoach
178
8.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
32
1.8k
Transcript
RubyMotion How I learned to like iOS despite Objective-C
iOS Mobile Development
iOS Mobile Development Objective-C ME
Objective-C syntax is bizarre & strange Struggle with nuances of
XCode Interface Builder is very “GUI” iOS follows MVC [generally] iOS Mobile Development
iOS Mobile Development Objective - C
iOS Mobile Development Objectionable-C
Obtuse iOS Mobile Development Objectionable-C
RubyMotion ‘Toolchain for iOS’ (iPhone/iPad/iPod) NOT PhoneGap or Rhomobile Creates
statically compiled, native code Fully compliant with App Store guidelines
RubyMotion Familiar environment Ruby*, MVC Tests (MacBacon) Memory Management Ruby
Gems Rake CLI (Terminal based workflow) *still required to understand structure and syntax of Obj-C
RubyMotion Debugger (introduced in 1.24) Read-Eval-Print-Loop (REPL) Huge community Libraries
and DSLs Mix Objective-C and Ruby
RubyMotion Laurent Sansonetti Creator and lead developer of MacRuby left
Apple late 2011 HipByte (small team) Made by Rubyists for Rubyists
RubyMotion Match Made in Heaven?
RubyMotion Match Made in Heaven? Marriage between MacRuby and iOS
iOS Mobile Development RubyMotion Only ONE file (.rb)
iOS Mobile Development RubyMotion NSObject is root class Only ONE
file (.rb)
iOS Mobile Development RubyMotion NSObject is root class implicit return
Only ONE file (.rb)
iOS Mobile Development RubyMotion NSObject is root class Duck typing
implicit return Only ONE file (.rb)
iOS Mobile Development RubyMotion NSObject is root class Duck typing
“sensible” dot notation implicit return Only ONE file (.rb)
RubyMotion
RubyMotion ENOUGH TALK LET’S CODE iOS in RUBY!!
RubyMotion No `eval` (statically compiled) No proc#binding No define_method Named
Parameters RVM / Bundler / Gems is NOT pure Ruby
RubyMotion Learning Objective-C slow painful Ruby familiar fun Conclusion
RubyMotion Purchase RubyMotion (~$200)* license key 1 year software updates
1 year private ticket system “How Do I Get Started?!” * 10% discount code
RubyMotion Google Group GitHub HipByte/RubyMotion ParkinT/RubyMotion_Life/wiki ParkinT/RubyMotionSamples ParkinT/F1rstUse Resources
RubyMotion Book Clay Allsopp Wiki Tutorials Official Samples repo MotionCasts
Conference #inspect Resources