Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Swift weekly 2018/08/07
Johnlin
August 07, 2018
Programming
0
38
Swift weekly 2018/08/07
Johnlin
August 07, 2018
Tweet
Share
More Decks by Johnlin
See All by Johnlin
johnlinvc
1
33
johnlinvc
2
690
johnlinvc
0
67
johnlinvc
0
1.1k
johnlinvc
0
49
johnlinvc
0
43
johnlinvc
0
33
johnlinvc
1
41
johnlinvc
0
27
Other Decks in Programming
See All in Programming
amaotone
15
7.8k
lovee
8
2.4k
joergneumann
0
120
neripark
3
620
line_developers_tw2
0
3.9k
legalforce
PRO
0
610
osyo
0
310
yasaichi
31
7.7k
masui_masanori
1
250
abeta
1
180
alperhankendi
1
140
bkuhlmann
2
310
Featured
See All Featured
revolveconf
200
9.7k
denniskardys
219
120k
myddelton
109
11k
skipperchong
8
710
shpigford
369
42k
jonrohan
1021
380k
garrettdimon
288
110k
chrislema
231
16k
tmm1
61
9.3k
addyosmani
494
110k
addyosmani
311
21k
vanstee
117
4.9k
Transcript
Swift पใ 2018/08/07 John Lin @johnlinvc
From the core • ແ
Evolution • [SE-0215] Conform Never to Equatable and Hashable •
[SE-0218] Introduce compactMapValues to Dictionary • [SE-0219] Package Manager Dependency Mirroring
[SE-0215] Conform Never to Equatable and Hashable • fatalError ။ճၚ
Never • ୠੋ૾ࡏଖଞํ༗ᴍ༻ɼൺํ㘸ᙛ API error ࣌ճၚత value
[SE-0215] Conform Never to Equatable and Hashable • ᩋ Never
ՄҎඃൺֱɼṜᒬൺֱ༻ɻ ૾ੋ if result.value == Never • Equatable, Hashable, Comparable & Error ࢧ ԉɻ
[SE-0218] Introduce compactMapValues to Dictionary • Sequence ༗ compactMap •
[SE-0218] Introduce compactMapValues to Dictionary • ෆա Dictionary ᔒ༗ QQ
• ⃧ՃҰݸ compactMapValues ൺֱެฏ
[SE-0219] Package Manager Dependency Mirroring • ҆ Package ՄҎՃҰݸ mirror
url $ swift package config set-mirror \ --package-url https://github.com/Core/ libCore.git \ --mirror-url https://mygithub.com/myOrg/ libCore.git • ။༏ઌኺ mirror ҆ɼՄҎࢭ leftpad ܶ
Community • Silver compiler https://www.elementscompiler.com/ elements/silver/