Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Swift 2.0
Search
greg3z
June 17, 2015
Programming
0
100
Swift 2.0
My post WWDC talk about Swift 2.0 @ Swift Paris - 17/06/2015
greg3z
June 17, 2015
Tweet
Share
More Decks by greg3z
See All by greg3z
How to turn an onion into a snake?
greg3z
0
1.5k
The Inheritance Curse
greg3z
0
1.1k
MVC-RS
greg3z
0
230
Swift Open Source
greg3z
0
77
Swift Sequences & Collections
greg3z
0
49
Other Decks in Programming
See All in Programming
Developing static sites with Ruby
okuramasafumi
0
280
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
460
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
430
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
140
認証・認可の基本を学ぼう後編
kouyuume
0
190
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
150
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
130
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
6
1.8k
手が足りない!兼業データエンジニアに必要だったアーキテクチャと立ち回り
zinkosuke
0
680
AIコーディングエージェント(Gemini)
kondai24
0
220
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
110
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
13k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Into the Great Unknown - MozCon
thekraken
40
2.2k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Building Applications with DynamoDB
mza
96
6.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
4 Signs Your Business is Dying
shpigford
186
22k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Transcript
Swift 2.0 @greg3z
Menu • Objective C enhancements • Availability • Error handling
• Swift 2.0 Migration • •
Objective C enhancements • Generics • Nullability
Availability
Availability
Error handling
do
do
do
do X
do
Error handling
Error handling
Error handling
Error handling
Error handling
Error handling
Error handling
Objective C enhancements AnyObject -> T T! -> T or
T? Swift 2.0 Migration
StdLib: global functions 101 -> 77 sorted(elements, f) -> elements.sort(f)
count(string) -> string.count Swift 2.0 Migration
Option sets .FlexibleWidth | .FlexibleHeight [.FlexibleWidth, .FlexibleHeight] none -> []
Swift 2.0 Migration
Error handling Methods with NSError** -> do / try /
catch Swift 2.0 Migration
var -> let warning unused variable println -> print count(string)
-> string.characters.count Swift 2.0 Migration
None
Protocol Extensions
Protocol-Oriented Programming
POP
None
None
None
Swift Open Source
iOS dev -> fullstack dev
guard defer if case .A = a where everywhere Generated
Interface Misc
Questions? :) @greg3z