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
Swift Introduction to Swift in Ruby
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Joseph Ku
June 17, 2014
Technology
170
0
Share
Swift Introduction to Swift in Ruby
2014-06-17 Presented on Ruby Tuesday #29
Joseph Ku
June 17, 2014
More Decks by Joseph Ku
See All by Joseph Ku
R&B: When Ruby Met Bitcoin
joseph
0
260
第一次去 WWDC 就上手
joseph
0
220
手機遊戲開發的兩三事
joseph
0
120
RubyMotion Gets A Cool New Friend: mruby on iOS
joseph
2
1k
RubyMotion: Hack Your iOS App Like Never Before
joseph
5
1.1k
Other Decks in Technology
See All in Technology
AIにより大幅に強化された AWS Transform Customを触ってみる
0air
0
240
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
400
私がよく使うMCPサーバー3選と社内で安全に活用する方法
kintotechdev
0
150
OpenClawでPM業務を自動化
knishioka
2
360
JAWS DAYS 2026でAIの「もやっと」感が解消された話
smt7174
1
120
契約書からの情報抽出を行うLLMのスループットを、バッチ処理を用いて最大40%改善した話
sansantech
PRO
3
330
FASTでAIエージェントを作りまくろう!
yukiogawa
4
180
FastMCP OAuth Proxy with Cognito
hironobuiga
3
230
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
qa
0
580
SaaSに宿る21g
kanyamaguc
2
180
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
140
第26回FA設備技術勉強会 - Claude/Claude_codeでデータ分析 -
happysamurai294
0
280
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Optimizing for Happiness
mojombo
378
71k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
500
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Scaling GitHub
holman
464
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Music & Morning Musume
bryan
47
7.1k
Transcript
Swift Introduction to Swift in Ruby
@josephku
None
None
370,000
Safe Modern Power
None
None
No base class
@objc
Playground
Visual REPL
Use constant
let var
Unicode
π
String Interpolation
let name = "Afu" let age = 3 let greetings
= "Hi! My name is \(name). My human age is \(age * 7)" println(greetings)
puts "Hi! I am #{name}. My human age is #{age
* 7}"
Array & Dictionary
Array & Hash
1..10 1…10
if true { println("only me!") }
Functional Programming
Structure & Class
Extensions
500.repeatitions { println("Me again!") }
500.times { puts "Me again!" }
Tuple
let someTuple: (Double, Double) = (3.14159, 2.71828)
?
var serverResponseCode: Int? = 404 serverResponseCode = nil
Optional Chaining
num = paul.residence?.address?.buildingNumber?.toInt()
RubyMotion
C’mon, it’s Ruby!!
?
Thank you!