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 Weekly 10/4
Search
Johnlin
October 04, 2016
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Swift Weekly 10/4
Johnlin
October 04, 2016
More Decks by Johnlin
See All by Johnlin
用 MLIR 實作 一個 Ruby IR (intermediate representation)
johnlinvc
0
320
Unearth Ruby builtin Gems 發掘 Ruby 的內建 Gems
johnlinvc
0
400
Ruby 型別檢查工具簡介
johnlinvc
0
630
Swift Actor 實作探索
johnlinvc
0
200
用 mruby 來寫跨平台工具
johnlinvc
0
130
Actor model 簡介
johnlinvc
0
240
一起玩 Helm 3
johnlinvc
1
160
為什麼 App 卡卡的
johnlinvc
2
1.3k
如何使用 byebug 來除錯 Ruby 程式
johnlinvc
0
270
Other Decks in Programming
See All in Programming
React本体のコードリーディング
high_g_engineer
1
150
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
200
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
520
Cloudflare is Agents
chimame
0
170
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
600
VibeCodingからAgenticWorkflowへ
starfish719
0
670
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
710
Android CLI
fornewid
0
230
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
430
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.4k
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
210
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
150
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
280
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
650
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.4k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
280
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
370
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Tell your own story through comics
letsgokoyo
1
1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
210
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
470
Transcript
Swift पใ 10/4 John Lin @johnlinvc
From the core • Xcode 8 ਖ਼ࣜᚙ䆋 • Swift 3
ਖ਼ࣜᚙ䆋 • Swift 3.0.1 preview 2
Evolution • SE-0139 ࣗಈᏐᆴܕผ NSNumber, Cocoa Struct NSValue •
SE-0140 Optional Any ࣌ᚙग़ܯࠂɼࣗಈ Optional ሏతᆴ҃ੋ NSNull • SE-0138 UnsafeRawBufferPointer
SE-0139 ࣗಈᏐᆴܕผ NSNumber, Cocoa Struct NSValue • Int, UInt,
Double, Float ။ࣗಈ NSNumber
SE-0139 ࣗಈᏐᆴܕผ NSNumber, Cocoa Struct NSValue • ୠੋ Int8
~ Int64ɼUInt8 ~ Uint64 ෆ။ࣗಈ
SE-0139 ࣗಈᏐᆴܕผ NSNumber, Cocoa Struct NSValue • Cocoa Struct
(CGPoint) ෆ။ࣗಈ NSValue
SE-0139 ࣗಈᏐᆴܕผ NSNumber, Cocoa Struct NSValue • Ҏޙશ෦။ࣗಈ •
Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float, Double, Int ။ NSNumber • NSRange ,CGPoint ,CGVector ,CGSize ,CGRect ,CGAffin eTransform ,UIEdgeInsets ,UIOffset ,CATransform3D , CMTime ,CMTimeRange ,CMTimeMapping ,MKCoordinate ,M KCoordinateSpan ,SCNVector3 ,SCNVector4 ,SCNMatrix4 ။ NSValue
SE-0140 Optional Any ࣌ᚙग़ܯࠂɼ ࣗಈ Optional ሏతᆴ҃ੋ NSNull
ࡏObj-C ՄҎ༻ _Nonnull ိḼ໌ჩᏐෆՄҎੋNull, ෆখ৺ၚ Null త࣌ީ။༗ܯࠂ㘤ଉ
SE-0140 Optional Any ࣌ᚙग़ܯࠂɼ ࣗಈ Optional ሏతᆴ҃ੋ NSNull
Swift త Any ՄҎੋԿᆴɼแؚOptional<T>.noneɼ Any ၚਐ Obj-C ࣌။ඃෆಁ໌త idɻ ୠੋෆ။༗ _Nonnull తܯࠂ
SE-0140 Optional Any ࣌ᚙग़ܯࠂɼ ࣗಈ Optional ሏతᆴ҃ੋ NSNull
• ະိᙛ Optional Any ࣌။༗ܯࠂɻ • Optional ᙛ id ၚਐ Obj-C ࣌ɼՌሏੋ .none बࣗಈ NSNullɼෆવबၚሏਅਖ਼తᆴɻ
SE-0138 UnsafeRawBufferPointer • Ұൠਓጯ֘ෆ။༻౸ • ؆ᄸိ㘸बੋՄҎ፤౸ҰմهԱᱪɼཫ໘㑌Ұݸݩ ૉੋҰݸ Byteɼ༻ UInt8 දࣔ
• ՄҎ༻ Array.withUnsafeBytes ፤౸ Array తهԱ ᱪɻ