Slide 1

Slide 1 text

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

Slide 2

Slide 2 text

From the core • Community Hosted CI

Slide 3

Slide 3 text

Community hosted CI • ݱࡏ Swift ୞ࢧԉ apple OS(mac,ios...) & Ubuntu • ر๬ՄҎᩋ Swift ࢧԉߋଟత࡞ۀܥ౷࿨ߗᱪ • ৽⃧ྃ Fedora , Debian(ARMv7) • ᓣܴఏڙػث

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

[SE-0201] Package Manager Local Dependencies • SPM ৽⃧Ұݸએࠂ dependency తํ๏ • ՄҎ༻ local dependency • ։ᚙlibrary ҃์ example త࣌ީ኷ํศ

Slide 6

Slide 6 text

[SE-0202] Random Unification • ݱࡏཁ၏ random ༗ᴍຑ൥ •

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

[SE-0202] Random Unification • Collection random •

Slide 11

Slide 11 text

[SE-0202] Random Unification • Collection shuffle •

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

[SE-0204] Add last(where:) and lastIndex(where:) Methods • ᢜత။վ໊ !!! • index(of:) -> firstIndex(of:) • index(where:) -> firstIndex(where:) • ။ఏڙ fixit, Swift 4.2 ။೺ᢜత deprecate, Swift 5 ፤ᎃ •

Slide 16

Slide 16 text

[SE-0205] withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values • withUnsafeBytes ݱࡏ୞ೳ༻ࡏ var ্ •

Slide 17

Slide 17 text

[SE-0205] withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values • ೭ޙՄҎ௚઀༻ࡏ let ্ • Ұൠਓጯ֘༻ෆ౸ʁ •

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

[SE-0206] Hashable Enhancements

Slide 20

Slide 20 text

[SE-0206] Hashable Enhancements

Slide 21

Slide 21 text

[SE-0206] Hashable Enhancements

Slide 22

Slide 22 text

[SE-0206] Hashable Enhancements

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

[SE-0207] Add a containsOnly algorithm to Sequence • ೭ޙ။৽⃧ • nums.allSatisfy{$0 == 9}

Slide 25

Slide 25 text

[SE-0208] Package Manager System Library Targets • ݱࡏཁ༻ܥ౷ library ኷ຑ൥ • ཁ༻ libpng बཁઌ૑Ұݸ Clibpng త package
 ࡏ project ࠶ڈ༻ಹݸ package • ೭ޙ௚઀ՃҰݸ libpng త target बՄҎ༻ྃ

Slide 26

Slide 26 text

[SE-0209] Package Manager Swift Language Version API Update • ݱࡏ SPM ୞ೳ༻੔Ꮠత Swift ൛ຊɼᔒ㭎๏႔ཧ 4.2 • ೭ޙ။༻Ұݸ enum แىိɼ໵ఏڙҰݸࣈ۲൛త case

Slide 27

Slide 27 text

Community • Swift for TensorFlow is Open Sourced !! • https://www.tensorflow.org/community/swift • https://github.com/tensorflow/swift

Slide 28

Slide 28 text

Community • Vapor 3.0 • https://medium.com/@codevapor/vapor-3-0-0- released-8356fa619a5d