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
0
160
Swift Introduction to Swift in Ruby
2014-06-17 Presented on Ruby Tuesday #29
Joseph Ku
June 17, 2014
Tweet
Share
More Decks by Joseph Ku
See All by Joseph Ku
R&B: When Ruby Met Bitcoin
joseph
0
250
第一次去 WWDC 就上手
joseph
0
210
手機遊戲開發的兩三事
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
OSC仙台プレ勉強会 AlmaLinuxとは
koedoyoshida
0
140
Oracle Cloud Infrastructure IaaS 新機能アップデート 2025/12 - 2026/2
oracle4engineer
PRO
0
100
20260311 ビジネスSWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
280
[JAWSDAYS2026]Who is responsible for IAM
mizukibbb
0
520
Claude Code のコード品質がばらつくので AI に品質保証させる仕組みを作った話 / A story about building a mechanism to have AI ensure quality, because the code quality from Claude Code was inconsistent
nrslib
13
7.2k
猫でもわかるKiro CLI(AI 駆動開発への道編)
kentapapa
0
160
進化するBits AI SREと私と組織
nulabinc
PRO
0
100
8万デプロイ
iwamot
PRO
2
230
Datadog の RBAC のすべて
nulabinc
PRO
3
460
親子 or ペアで Mashup for the Future! しゃべって楽しむ 初手AI駆動でものづくり体験
hiroramos4
PRO
0
110
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
13
4.2k
Go標準パッケージのI/O処理をながめる
matumoto
0
170
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.6k
30 Presentation Tips
portentint
PRO
1
250
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
200
Leo the Paperboy
mayatellez
4
1.5k
Paper Plane
katiecoart
PRO
0
48k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
51k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
200
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Are puppies a ranking factor?
jonoalderson
1
3.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
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!