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 Introduction
Search
.mateus
November 12, 2012
Programming
1
700
Rubymotion Introduction
Introduction into Rubymotion,
.mateus
November 12, 2012
Tweet
Share
More Decks by .mateus
See All by .mateus
RUST - THE SYSTEM LANGUAGE FOR THE FUTURE
seanlilmateus
0
280
Rubymotion - the introduction
seanlilmateus
0
100
CONCURRENCY PATTERNS IN RUBYMOTION
seanlilmateus
2
1.6k
Other Decks in Programming
See All in Programming
Jaspr Dart Web Framework 박제창 @Devfest 2024
itsmedreamwalker
0
150
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
3
190
Запуск 1С:УХ в крупном энтерпрайзе: мечта и реальность ПМа
lamodatech
0
950
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
420
Package Traits
ikesyo
1
210
AHC041解説
terryu16
0
380
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
390
Flatt Security XSS Challenge 解答・解説
flatt_security
0
730
週次リリースを実現するための グローバルアプリ開発
tera_ny
1
1.2k
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
1k
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
130
Featured
See All Featured
Scaling GitHub
holman
459
140k
Gamification - CAS2011
davidbonilla
80
5.1k
Designing for humans not robots
tammielis
250
25k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
360
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Designing Experiences People Love
moore
139
23k
Mobile First: as difficult as doing things right
swwweet
222
9k
Building Applications with DynamoDB
mza
93
6.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
What's in a price? How to price your products and services
michaelherold
244
12k
Six Lessons from altMBA
skipperchong
27
3.6k
Transcript
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