Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Swift weekly 2018/08/07

Johnlin
August 07, 2018

Swift weekly 2018/08/07

Johnlin

August 07, 2018
Tweet

More Decks by Johnlin

Other Decks in Programming

Transcript

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

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

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

    ՄҎඃൺֱɼṜᒬൺֱ޷༻ɻ ૾ੋ
 if result.value == Never • Equatable, Hashable, Comparable & Error ౎ࢧ ԉɻ
  4. [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 ጗ܶ