Submit Search
Upload
Swift Introduction to Swift in Ruby
•
5 likes
•
1,071 views
Joseph Ku
Follow
2014-06-17 Presented on Ruby Tuesday #29
Read less
Read more
Technology
Education
Report
Share
Report
Share
1 of 38
Download now
Download to read offline
Recommended
Metaprogramming in Ruby
Metaprogramming in Ruby
John Vlachoyiannis
Ruby.new @ VilniusRB
Ruby.new @ VilniusRB
Vidmantas Kabošis
Basic Command
Basic Command
Sira Nokyoongtong
Handling multibyte CSV files in PHP
Handling multibyte CSV files in PHP
Daniel_Rhodes
Multibyte string handling in PHP
Multibyte string handling in PHP
Daniel_Rhodes
Hanami in Production @ Hanami User Group SP
Hanami in Production @ Hanami User Group SP
Hélio Costa E Silva
from Ruby to Objective-C
from Ruby to Objective-C
Eddie Kao
Make Your Own Tools
Make Your Own Tools
christophercotton
Recommended
Metaprogramming in Ruby
Metaprogramming in Ruby
John Vlachoyiannis
Ruby.new @ VilniusRB
Ruby.new @ VilniusRB
Vidmantas Kabošis
Basic Command
Basic Command
Sira Nokyoongtong
Handling multibyte CSV files in PHP
Handling multibyte CSV files in PHP
Daniel_Rhodes
Multibyte string handling in PHP
Multibyte string handling in PHP
Daniel_Rhodes
Hanami in Production @ Hanami User Group SP
Hanami in Production @ Hanami User Group SP
Hélio Costa E Silva
from Ruby to Objective-C
from Ruby to Objective-C
Eddie Kao
Make Your Own Tools
Make Your Own Tools
christophercotton
Music as data
Music as data
John Vlachoyiannis
Ruby for Java Developers
Ruby for Java Developers
Robert Reiz
2007 09 10 Fzi Training Groovy Grails V Ws
2007 09 10 Fzi Training Groovy Grails V Ws
loffenauer
What can be done with Java, but should better be done with Erlang (@pavlobaron)
What can be done with Java, but should better be done with Erlang (@pavlobaron)
Pavlo Baron
Swift Basics
Swift Basics
Jong-Hyun Kim
NUS iOS Swift Talk
NUS iOS Swift Talk
Gabriel Lim
Gatling - Paris Perf User Group
Gatling - Paris Perf User Group
slandelle
Groovy!
Groovy!
Petr Giecek
Reasons To Love Ruby
Reasons To Love Ruby
Ben Scheirman
Kotlin: maybe it's the right time
Kotlin: maybe it's the right time
Davide Cerbo
Spock Framework - Slidecast
Spock Framework - Slidecast
Daniel Kolman
Spock Framework
Spock Framework
Daniel Kolman
An introduction to Ruby
An introduction to Ruby
Wes Oldenbeuving
Exploring Ceylon with Gavin King - JUG BB Talk - Belrin 2014
Exploring Ceylon with Gavin King - JUG BB Talk - Belrin 2014
hwilming
A Sceptical Guide to Functional Programming
A Sceptical Guide to Functional Programming
Garth Gilmour
jRuby: The best of both worlds
jRuby: The best of both worlds
Christopher Spring
TechDays - IronRuby
TechDays - IronRuby
Ben Hall
Ruby 程式語言綜覽簡介
Ruby 程式語言綜覽簡介
Wen-Tien Chang
Spock
Spock
nklmish
Scala the-good-parts
Scala the-good-parts
Fuqiang Wang
R&B: When Ruby Met Bitcoin
R&B: When Ruby Met Bitcoin
Joseph Ku
第一次去 WWDC 就上手
第一次去 WWDC 就上手
Joseph Ku
More Related Content
Similar to Swift Introduction to Swift in Ruby
Music as data
Music as data
John Vlachoyiannis
Ruby for Java Developers
Ruby for Java Developers
Robert Reiz
2007 09 10 Fzi Training Groovy Grails V Ws
2007 09 10 Fzi Training Groovy Grails V Ws
loffenauer
What can be done with Java, but should better be done with Erlang (@pavlobaron)
What can be done with Java, but should better be done with Erlang (@pavlobaron)
Pavlo Baron
Swift Basics
Swift Basics
Jong-Hyun Kim
NUS iOS Swift Talk
NUS iOS Swift Talk
Gabriel Lim
Gatling - Paris Perf User Group
Gatling - Paris Perf User Group
slandelle
Groovy!
Groovy!
Petr Giecek
Reasons To Love Ruby
Reasons To Love Ruby
Ben Scheirman
Kotlin: maybe it's the right time
Kotlin: maybe it's the right time
Davide Cerbo
Spock Framework - Slidecast
Spock Framework - Slidecast
Daniel Kolman
Spock Framework
Spock Framework
Daniel Kolman
An introduction to Ruby
An introduction to Ruby
Wes Oldenbeuving
Exploring Ceylon with Gavin King - JUG BB Talk - Belrin 2014
Exploring Ceylon with Gavin King - JUG BB Talk - Belrin 2014
hwilming
A Sceptical Guide to Functional Programming
A Sceptical Guide to Functional Programming
Garth Gilmour
jRuby: The best of both worlds
jRuby: The best of both worlds
Christopher Spring
TechDays - IronRuby
TechDays - IronRuby
Ben Hall
Ruby 程式語言綜覽簡介
Ruby 程式語言綜覽簡介
Wen-Tien Chang
Spock
Spock
nklmish
Scala the-good-parts
Scala the-good-parts
Fuqiang Wang
Similar to Swift Introduction to Swift in Ruby
(20)
Music as data
Music as data
Ruby for Java Developers
Ruby for Java Developers
2007 09 10 Fzi Training Groovy Grails V Ws
2007 09 10 Fzi Training Groovy Grails V Ws
What can be done with Java, but should better be done with Erlang (@pavlobaron)
What can be done with Java, but should better be done with Erlang (@pavlobaron)
Swift Basics
Swift Basics
NUS iOS Swift Talk
NUS iOS Swift Talk
Gatling - Paris Perf User Group
Gatling - Paris Perf User Group
Groovy!
Groovy!
Reasons To Love Ruby
Reasons To Love Ruby
Kotlin: maybe it's the right time
Kotlin: maybe it's the right time
Spock Framework - Slidecast
Spock Framework - Slidecast
Spock Framework
Spock Framework
An introduction to Ruby
An introduction to Ruby
Exploring Ceylon with Gavin King - JUG BB Talk - Belrin 2014
Exploring Ceylon with Gavin King - JUG BB Talk - Belrin 2014
A Sceptical Guide to Functional Programming
A Sceptical Guide to Functional Programming
jRuby: The best of both worlds
jRuby: The best of both worlds
TechDays - IronRuby
TechDays - IronRuby
Ruby 程式語言綜覽簡介
Ruby 程式語言綜覽簡介
Spock
Spock
Scala the-good-parts
Scala the-good-parts
More from Joseph Ku
R&B: When Ruby Met Bitcoin
R&B: When Ruby Met Bitcoin
Joseph Ku
第一次去 WWDC 就上手
第一次去 WWDC 就上手
Joseph Ku
手機遊戲開發的兩三事
手機遊戲開發的兩三事
Joseph Ku
RubyMotion Gets A Cool New Friend: mruby on iOS
RubyMotion Gets A Cool New Friend: mruby on iOS
Joseph Ku
RubyMotion: Hack Your iOS App Like Never Before
RubyMotion: Hack Your iOS App Like Never Before
Joseph Ku
iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...
Joseph Ku
Ruby on Google App Engine: Upgrade to Google App "Turbo" Engine
Ruby on Google App Engine: Upgrade to Google App "Turbo" Engine
Joseph Ku
More from Joseph Ku
(7)
R&B: When Ruby Met Bitcoin
R&B: When Ruby Met Bitcoin
第一次去 WWDC 就上手
第一次去 WWDC 就上手
手機遊戲開發的兩三事
手機遊戲開發的兩三事
RubyMotion Gets A Cool New Friend: mruby on iOS
RubyMotion Gets A Cool New Friend: mruby on iOS
RubyMotion: Hack Your iOS App Like Never Before
RubyMotion: Hack Your iOS App Like Never Before
iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...
Ruby on Google App Engine: Upgrade to Google App "Turbo" Engine
Ruby on Google App Engine: Upgrade to Google App "Turbo" Engine
Recently uploaded
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
Lars Bell
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Dilum Bandara
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Recently uploaded
(20)
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Swift Introduction to Swift in Ruby
1.
Swift Introduction to
Swift in Ruby
2.
@josephku
3.
4.
5.
370,000
6.
Safe Modern Power
7.
8.
9.
No base class
10.
@objc
11.
Playground
12.
Visual REPL
13.
Use constant
14.
let var
15.
Unicode
16.
π
17.
String Interpolation
18.
let name =
"Afu" let age = 3 let greetings = "Hi! My name is (name). My human age is (age * 7)" println(greetings)
19.
puts "Hi! I
am #{name}. My human age is #{age * 7}"
20.
Array & Dictionary
21.
Array & Hash
22.
1..10 1…10
23.
if true { println("only
me!") }
24.
Functional Programming
25.
Structure & Class
26.
Extensions
27.
500.repeatitions { println("Me
again!") }
28.
500.times { puts
"Me again!" }
29.
Tuple
30.
let someTuple: (Double,
Double) = (3.14159, 2.71828)
31.
?
32.
var serverResponseCode: Int?
= 404 serverResponseCode = nil
33.
Optional Chaining
34.
num = paul.residence?.address?.buildingNumber?.toInt()
35.
RubyMotion
36.
C’mon, it’s Ruby!!
37.
?
38.
Thank you!
Download now