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
RubyMotion - How I learned to like iOS despite Objective-C
Search
Thom Parkin
January 10, 2013
Programming
0
340
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
品質とスピードを両立: TypeScriptの柔軟な型システムをバックエンドで活用する
kosui
8
2.2k
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.1k
try! Swift Tokyo 初参加報告LT
hinakko2
0
180
SpringBoot+MyBatisで例外が出たときどこを見るか
syukai
0
110
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
160
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
24
7.5k
StreamlitとTerraformでデータカタログを作った話
gussan0223
0
280
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
22
15k
プールにゆこう
irof
2
120
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
330
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
380
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
250
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
49
9.2k
For a Future-Friendly Web
brad_frost
171
8.9k
How STYLIGHT went responsive
nonsquared
92
4.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
225
51k
Making the Leap to Tech Lead
cromwellryan
123
8.5k
In The Pink: A Labor of Love
frogandcode
137
21k
Agile that works and the tools we love
rasmusluckow
323
20k
Design by the Numbers
sachag
274
18k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
Building Effective Engineering Teams - LeadDev
addyosmani
26
1.8k
Git: the NoSQL Database
bkeepers
PRO
421
63k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
118
38k
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