Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rubymotion Introduction
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
.mateus
November 12, 2012
Programming
710
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rubymotion Introduction
Introduction into Rubymotion,
.mateus
November 12, 2012
Transcript
27 slides
iOS meets Ruby @seanlilmateus • Mateus Armando • github.com/seanlilmateus Montag,
12. November 12
About Me Computer Scientists in System Integration Application Development Mateus
Armando Telecommunications company Montag, 12. November 12
Rubymotion 7 years at Apple as as a senior software
engineer for iLife and OS X. Creator and maintainer of MacRuby was an active contributor to RubyCocoa and Gnome Laurent Sansonetti Montag, 12. November 12
iOS Development Montag, 12. November 12
iOS Development I CAN DEVELOP NATIVE iOS APPS IN RUBY?
SO , YOU’RE TELLI N G ME Montag, 12. November 12
iOS Development Montag, 12. November 12
Unified Runtime iOS SDK Foundation Framework Objective-C Runtime Objective-C Montag,
12. November 12
Unified Runtime iOS SDK Foundation Framework Objective-C Runtime Objective-C RubyMotion
Montag, 12. November 12
Ruby vs Objective-C 2.0 [obj method:parameter]; obj.method parameter Montag, 12.
November 12
Ruby vs Objective-C 2.0 NSMutableArray *friends = [@[@”Tom”,@”Tim”,@”Jim” ] mutableCopy];
friends = [”Tom”,”TIM”,”Jim”] Montag, 12. November 12
Ruby vs Objective-C 2.0 NSDictionary *dict = @{ @"key" :
@[@”Object”]} dict = { “key” => [“object”]} Montag, 12. November 12
class Person attr_accessor :first_name, :last_name def full_name "#@first_name, #@last_name" end
end // person.h @interface Person : NSObject @property (nonatomic, copy) NSString *firstName; @property (nonatomic, copy) NSString *lastName; @end // person.m @implementation Person - (NSString *) fullName { return [NSString stringWithFormat:@"%@ %@", [self firstName], [self lastName]]; } @end Ruby vs Objective-C 2.0 Montag, 12. November 12
but.... •Object Literals •ARC •Blocks (closures) •@synthesize by Default Montag,
12. November 12
but.... •Object Literals •ARC •Blocks (closures) •@synthesize by Default [fakeElvis
doYouKnowTheMuffinMan: theMuffinMan]; Montag, 12. November 12
but.... •Object Literals •ARC •Blocks (closures) •@synthesize by Default [fakeElvis
doYouKnowTheMuffinMan: theMuffinMan]; dth pixelsHigh:(NSInteger)height bitsPerSample:(NSInteger)bps samplesPerPixel:(NSInteg Montag, 12. November 12
but.... •Object Literals •ARC •Blocks (closures) •@synthesize by Default [fakeElvis
doYouKnowTheMuffinMan: theMuffinMan]; rmat bytesPerRow:(NSInteger)rowBytes bitsPerPixel:(NSInteger)pixelBits Montag, 12. November 12
DEMO Montag, 12. November 12
CocoaPods.org rubymotion-wrappers.com CocoaControls.com Libraries Montag, 12. November 12
CocoaPods.org rubymotion-wrappers.com CocoaControls.com Libraries Montag, 12. November 12
CocoaPods.org rubymotion-wrappers.com CocoaControls.com Libraries Montag, 12. November 12
CocoaPods.org rubymotion-wrappers.com CocoaControls.com Libraries Montag, 12. November 12
CocoaPods.org rubymotion-wrappers.com CocoaControls.com Libraries Montag, 12. November 12
CocoaPods.org rubymotion-wrappers.com CocoaControls.com Libraries Montag, 12. November 12
CocoaPods.org rubymotion-wrappers.com CocoaControls.com Libraries Montag, 12. November 12
Thanks to GoSquered for the flags https://www.gosquared.com/resources/flag-icons http://www.textfromxcode.com Text from
Xcode xcode has started sending me text messages. no, i don't know how. DEMO WORKED!!!! Montag, 12. November 12
Thanks to GoSquered for the flags https://www.gosquared.com/resources/flag-icons http://www.textfromxcode.com Text from
Xcode xcode has started sending me text messages. no, i don't know how. Montag, 12. November 12
http://www.rubymotion.com 161,25 € RubyMotion Questions Montag, 12. November 12
More Decks by .mateus
See All by .mateus
RUST - THE SYSTEM LANGUAGE FOR THE FUTURE
seanlilmateus
0
290
Rubymotion - the introduction
seanlilmateus
0
130
CONCURRENCY PATTERNS IN RUBYMOTION
seanlilmateus
2
1.8k
Other Decks in Programming
See All in Programming
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
170
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
370
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
SODA - FACT BOOK(JP)
sodainc
1
40k
Modernizing iOS Apps
seyfoyun
0
150
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
850
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
9.1k
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.9k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
290
Featured
See All Featured
Visualization
eitanlees
153
17k
Un-Boring Meetings
codingconduct
0
490
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
New Earth Scene 8
popppiees
5
2.8k
We Are The Robots
honzajavorek
0
440
The Invisible Side of Design
smashingmag
301
52k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Building Applications with DynamoDB
mza
96
7.3k
Agile that works and the tools we love
rasmusluckow
331
22k