Slide 1

Slide 1 text

Swift पใ 2018/08/07 John Lin @johnlinvc

Slide 2

Slide 2 text

From the core • ແ

Slide 3

Slide 3 text

Evolution • [SE-0215] Conform Never to Equatable and Hashable • [SE-0218] Introduce compactMapValues to Dictionary • [SE-0219] Package Manager Dependency Mirroring

Slide 4

Slide 4 text

[SE-0215] Conform Never to Equatable and Hashable • fatalError ။ճၚ Never • ୠੋ޷૾ࡏଖଞ஍ํ໵༗ᴍ༻ɼൺํ㘸ᙛ API error ࣌ճၚత value

Slide 5

Slide 5 text

[SE-0215] Conform Never to Equatable and Hashable • ᩋ Never ՄҎඃൺֱɼṜᒬൺֱ޷༻ɻ ૾ੋ
 if result.value == Never • Equatable, Hashable, Comparable & Error ౎ࢧ ԉɻ

Slide 6

Slide 6 text

[SE-0218] Introduce compactMapValues to Dictionary • Sequence ༗ compactMap •

Slide 7

Slide 7 text

[SE-0218] Introduce compactMapValues to Dictionary • ෆա Dictionary ᔒ༗ QQ • ⃧ՃҰݸ compactMapValues ൺֱެฏ

Slide 8

Slide 8 text

[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 ጗ܶ

Slide 9

Slide 9 text

Community • Silver compiler https://www.elementscompiler.com/ elements/silver/