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
Swift Introduction to Swift in Ruby
Search
Joseph Ku
June 17, 2014
Technology
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
300
第一次去 WWDC 就上手
joseph
0
240
手機遊戲開發的兩三事
joseph
0
130
RubyMotion Gets A Cool New Friend: mruby on iOS
joseph
2
1.1k
RubyMotion: Hack Your iOS App Like Never Before
joseph
5
1.1k
Other Decks in Technology
See All in Technology
10年欲しかった音楽管理アプリを、AIと一緒に作りはじめた
judau
1
190
1人アドミンな私はAWSアカウント申請をSlackで完結したい!
ysuzuki
0
110
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
260
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
6
2.1k
Account Factory for Terraformによる 標準化されたアカウント発行の自動化
pensuke628
0
120
AI臭い文章とは何なのか
nasuvitz
36
76k
ScotSecure West 2026 - Glasgow
raybugg
0
210
あなたの知らないAmazon VPC Route Server/Amazon VPC Route Server you don't know about
masakiokuda
1
180
可視化から始めたAI駆動開発_ochi_ver1.01 / AI-Driven Development Starting with Visualization_ver1.01
yayoi_dd
0
110
GitHub Agentic Workflows を触ってみる
htkym
2
890
Coil3を内部実装から読み解く~キャッシュ戦略とAVIF画像の描画〜/nikkei-tech-talk50
nikkei_engineer_recruiting
0
180
営業オントロジーの作り方と、エージェントからの辿り方 ── ナレッジワークの現場から
kworkdev
PRO
1
210
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
The SEO Collaboration Effect
kristinabergwall1
1
580
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
340
We Have a Design System, Now What?
morganepeng
55
8.3k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
390
Product Roadmaps are Hard
iamctodd
55
13k
Ethics towards AI in product and experience design
skipperchong
2
400
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
560
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
560
Between Models and Reality
mayunak
4
480
Optimizing for Happiness
mojombo
378
71k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
710
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!