Swift weekly 2018/08/07

3f7d9611fc919c98512b779cde637dfc?s=47 Johnlin
August 07, 2018

Swift weekly 2018/08/07

3f7d9611fc919c98512b779cde637dfc?s=128

Johnlin

August 07, 2018
Tweet

Transcript

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

  2. From the core • ແ

  3. Evolution • [SE-0215] Conform Never to Equatable and Hashable •

    [SE-0218] Introduce compactMapValues to Dictionary • [SE-0219] Package Manager Dependency Mirroring
  4. [SE-0215] Conform Never to Equatable and Hashable • fatalError ။ճၚ

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

    ՄҎඃൺֱɼṜᒬൺֱ޷༻ɻ ૾ੋ
 if result.value == Never • Equatable, Hashable, Comparable & Error ౎ࢧ ԉɻ
  6. [SE-0218] Introduce compactMapValues to Dictionary • Sequence ༗ compactMap •

  7. [SE-0218] Introduce compactMapValues to Dictionary • ෆա Dictionary ᔒ༗ QQ

    • ⃧ՃҰݸ compactMapValues ൺֱެฏ
  8. [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 ጗ܶ
  9. Community • Silver compiler https://www.elementscompiler.com/ elements/silver/