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

Swift weekly 2018/05/08

Swift weekly 2018/05/08

Johnlin

May 08, 2018
Tweet

More Decks by Johnlin

Other Decks in Programming

Transcript

  1. Community hosted CI • ݱࡏ Swift ୞ࢧԉ apple OS(mac,ios...) &

    Ubuntu • ر๬ՄҎᩋ Swift ࢧԉߋଟత࡞ۀܥ౷࿨ߗᱪ • ৽⃧ྃ Fedora , Debian(ARMv7) • ᓣܴఏڙػث
  2. Evolution • [SE-0201] Package Manager Local Dependencies • [SE-0202] Random

    Unification • [SE-0204] Add last(where:) and lastIndex(where:) Methods • [SE-0205] withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values
  3. [SE-0201] Package Manager Local Dependencies • SPM ৽⃧Ұݸએࠂ dependency తํ๏

    • ՄҎ༻ local dependency • ։ᚙlibrary ҃์ example త࣌ީ኷ํศ
  4. [SE-0204] Add last(where:) and lastIndex(where:) Methods • ᢜత။վ໊ !!! •

    index(of:) -> firstIndex(of:) • index(where:) -> firstIndex(where:) • ။ఏڙ fixit, Swift 4.2 ။೺ᢜత deprecate, Swift 5 ፤ᎃ •
  5. Evolution • [SE-0206] Hashable Enhancements • [SE-0207] Add a containsOnly

    algorithm to Sequence • [SE-0208] Package Manager System Library Targets • [SE-0209] Package Manager Swift Language Version API Update
  6. [SE-0208] Package Manager System Library Targets • ݱࡏཁ༻ܥ౷ library ኷ຑ൥

    • ཁ༻ libpng बཁઌ૑Ұݸ Clibpng త package
 ࡏ project ࠶ڈ༻ಹݸ package • ೭ޙ௚઀ՃҰݸ libpng త target बՄҎ༻ྃ
  7. [SE-0209] Package Manager Swift Language Version API Update • ݱࡏ

    SPM ୞ೳ༻੔Ꮠత Swift ൛ຊɼᔒ㭎๏႔ཧ 4.2 • ೭ޙ။༻Ұݸ enum แىိɼ໵ఏڙҰݸࣈ۲൛త case
  8. Community • Swift for TensorFlow is Open Sourced !! •

    https://www.tensorflow.org/community/swift • https://github.com/tensorflow/swift