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
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Mattias Andersson
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
SeasiaInfotech2
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
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
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Recently uploaded
(20)
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
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