Swift weekly 2018/05/08

Swift weekly 2018/05/08

3f7d9611fc919c98512b779cde637dfc?s=128

Johnlin

May 08, 2018
Tweet

Transcript

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

  2. From the core • Community Hosted CI

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

    Ubuntu • ر๬ՄҎᩋ Swift ࢧԉߋଟత࡞ۀܥ౷࿨ߗᱪ • ৽⃧ྃ Fedora , Debian(ARMv7) • ᓣܴఏڙػث
  4. 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
  5. [SE-0201] Package Manager Local Dependencies • SPM ৽⃧Ұݸએࠂ dependency తํ๏

    • ՄҎ༻ local dependency • ։ᚙlibrary ҃์ example త࣌ީ኷ํศ
  6. [SE-0202] Random Unification • ݱࡏཁ၏ random ༗ᴍຑ൥ •

  7. [SE-0202] Random Unification • ఏڙ౷Ұత API •

  8. [SE-0202] Random Unification • ఏڙ౷Ұత API •

  9. [SE-0202] Random Unification • ఏڙ౷Ұత API •

  10. [SE-0202] Random Unification • Collection random •

  11. [SE-0202] Random Unification • Collection shuffle •

  12. [SE-0204] Add last(where:) and lastIndex(where:) Methods • ཁፙ collection ཫූ߹ᑍ݅త෺݅ᕝ؆ᄸత

  13. [SE-0204] Add last(where:) and lastIndex(where:) Methods • ୠཁ൓աိፙब኷ຑ൥ •

  14. [SE-0204] Add last(where:) and lastIndex(where:) Methods • ။৽⃧ last &

    lastIndex •
  15. [SE-0204] Add last(where:) and lastIndex(where:) Methods • ᢜత။վ໊ !!! •

    index(of:) -> firstIndex(of:) • index(where:) -> firstIndex(where:) • ။ఏڙ fixit, Swift 4.2 ။೺ᢜత deprecate, Swift 5 ፤ᎃ •
  16. [SE-0205] withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values • withUnsafeBytes ݱࡏ୞ೳ༻ࡏ

    var ্ •
  17. [SE-0205] withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values • ೭ޙՄҎ௚઀༻ࡏ let

    ্ • Ұൠਓጯ֘༻ෆ౸ʁ •
  18. 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
  19. [SE-0206] Hashable Enhancements

  20. [SE-0206] Hashable Enhancements

  21. [SE-0206] Hashable Enhancements

  22. [SE-0206] Hashable Enhancements

  23. [SE-0207] Add a containsOnly algorithm to Sequence •

  24. [SE-0207] Add a containsOnly algorithm to Sequence • ೭ޙ။৽⃧ •

    nums.allSatisfy{$0 == 9}
  25. [SE-0208] Package Manager System Library Targets • ݱࡏཁ༻ܥ౷ library ኷ຑ൥

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

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

    https://www.tensorflow.org/community/swift • https://github.com/tensorflow/swift
  28. Community • Vapor 3.0 • https://medium.com/@codevapor/vapor-3-0-0- released-8356fa619a5d