Slide 1

Slide 1 text

J04%$+BQBO%": ͦΖͦΖ$PNCJOF

Slide 2

Slide 2 text

4݄͔Β෱ԬͰiOSΤϯδχΞ΍͍ͬͯ·͢ɻ @stzn3 shiz(ͣ͠) @shiz stzn Swiftྺ: 5೥ ͦͷଞ։ൃܦݧ: Kotlin Javascript PHP C# Java Go…

Slide 3

Slide 3 text

$PNCJOF IUUQTQJYBCBZDPNKBVTFSTXTZQFSFL

Slide 4

Slide 4 text

$PNCJOFͱ͸ʁ

Slide 5

Slide 5 text

"VOJ f i FE EFDMBSBUJWF"1*GPS QSPDFTTJOHWBMVFTPWFSUJNF WWDC2019 Introducing Combine

Slide 6

Slide 6 text

l5IF$PNCJOFGSBNFXPSLQSPWJEFT BEFDMBSBUJWF4XJGU"1*GPS QSPDFTTJOHWBMVFTPWFSUJNF 5IFTFWBMVFTDBOSFQSFTFOUNBOZ LJOETPGBTZODISPOPVTFWFOUTz https://developer.apple.com/documentation/combine

Slide 7

Slide 7 text

l5IF$PNCJOFGSBNFXPSLQSPWJEFT BEFDMBSBUJWF4XJGU"1*GPS QSPDFTTJOHWBMVFTPWFSUJNF 5IFTFWBMVFTDBOSFQSFTFOUNBOZ LJOETPGBTZODISPOPVTFWFOUTz https://developer.apple.com/documentation/combine ࿈ଓͨ͠ ଟछྨͷඇಉظॲཧͳͲΛ ୯Ұͷํ๏Ͱѻ͏એݴతͳ"1*

Slide 8

Slide 8 text

l5IF$PNCJOFGSBNFXPSLQSPWJEFT BEFDMBSBUJWF4XJGU"1*GPS QSPDFTTJOHWBMVFTPWFSUJNF 5IFTFWBMVFTDBOSFQSFTFOUNBOZ LJOETPGBTZODISPOPVTFWFOUTz https://developer.apple.com/documentation/combine ࿈ଓͨ͠ ଟछྨͷඇಉظॲཧͳͲΛ ୯Ұͷํ๏Ͱѻ͏એݴతͳ"1*

Slide 9

Slide 9 text

ಉظతͳॲཧ .BJO5ISFBE WBSTUBUFlz TUBUFl*NIVOHSZz QSJOU TUBUF *`NIVOHSZ

Slide 10

Slide 10 text

ಉظతͳॲཧ .BJO5ISFBE WBSTUBUFlz TUBUFl*`NIVOHSZz QSJOU TUBUF *`NIVOHSZ

Slide 11

Slide 11 text

ಉظతͳॲཧ .BJO5ISFBE WBSTUBUFlz TUBUFl*`NIVOHSZz QSJOU TUBUF *`NIVOHSZ

Slide 12

Slide 12 text

.BJO5ISFBE WBSTUBUFlz TUBUFl*`NIVOHSZz QSJOU TUBUF ඇಉظͳॲཧ 5ISFBE TUBUFl*`NBOHSZz ͓ئ͍

Slide 13

Slide 13 text

.BJO5ISFBE WBSTUBUFlz TUBUFl*`NIVOHSZz QSJOU TUBUF ඇಉظͳॲཧ 5ISFBE TUBUFl*`NBOHSZz ݁Ռ͸ؾʹͤͣ࣍΁ਐΉ ͓ئ͍

Slide 14

Slide 14 text

.BJO5ISFBE WBSTUBUFlz TUBUFl*`NIVOHSZz QSJOU TUBUF 5ISFBE TUBUFl*`NBOHSZz ඇಉظͳॲཧ IVOHSZ BOHSZ *`Nʜ

Slide 15

Slide 15 text

ඇಉظॲཧͷ೉͠͞ ͍ͭ݁Ռ͕ฦͬͯ͘Δ͔Θ͔Βͳ͍ wλΠϛϯά࣍ୈͰ݁Ռ͕มΘͬͯ͠·͏ϦεΫ w༧ظͤ͵λΠϛϯάͰڍಈ͕ಥવมΘͬͯ͠·͏ϦεΫ

Slide 16

Slide 16 text

J04ͰඇಉظΛѻ͏ํ๏ /PUJ f i DBUJPO $FOUFS 5BSHFU"DUJPO %FMFHBUF $MPTVSF $BMMCBDLT σʔλ ߋ৽ ,FZ7BMVF 0CTFSWJOH ,70

Slide 17

Slide 17 text

ඇಉظॲཧͷ೉͠͞J04Ͱͷ೉͠͞ ͍ͭ݁Ռ͕ฦͬͯ͘Δ͔Θ͔Βͳ͍ wλΠϛϯά࣍ୈͰ݁Ռ͕มΘͬͯ͠·͏ϦεΫ wࢥ͍΋دΒͳ͍λΠϛϯάͰڍಈ͕มΘΔϦεΫ ॲཧͷํ๏͕৔߹ʹΑͬͯҟͳΔ wॲཧͷྲྀΕ్͕੾Εͯ͠·͏͜ͱ͕͋Δ

Slide 18

Slide 18 text

ඇಉظॲཧͷ೉͠͞J04Ͱͷ೉͠͞ ͍ͭ݁Ռ͕ฦͬͯ͘Δ͔Θ͔Βͳ͍ wλΠϛϯά࣍ୈͰ݁Ռ͕มΘͬͯ͠·͏ϦεΫ wࢥ͍΋دΒͳ͍λΠϛϯάͰڍಈ͕มΘΔϦεΫ ॲཧͷํ๏͕৔߹ʹΑͬͯҟͳΔ wॲཧͷྲྀΕ్͕੾Εͯ͠·͏͜ͱ͕͋Δ wผͷ৔ॴͰॲཧ͢Δ͜ͱ͕ඞཁͳ৔߹΋͋Δ

Slide 19

Slide 19 text

$PNCJOF IUUQTQJYBCBZDPNKBVTFSTXTZQFSFL

Slide 20

Slide 20 text

͋ΒΏΔॲཧΛ1VCMJTIFSʹ 'PVOEBUJPO w /PUJ f i DBUJPODFOUFS w 5BSHFU"DUJPO w "EIPDDBMMCBDLT w 63-4FTTJPO w ,70 $PNCJOF 1VCMJTIFS 4XJGU6* w !#JOEJOH w !0CTFSWFE0CKFDU w !4UBUF $PSF%BUB w 'FUDIFE3FRVFTU w /4.BOBHFE0CKFDU

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

ςΩετೖྗ Ϙλϯ੍ޚ ΠϯσΟέʔλදࣔ ೖྗΛඵ଴ͭ ະೖྗνΣοΫ ॏෳνΣοΫ ೖྗ஋νΣοΫ"1*ૹ৴ ݁ՌΛ7JFXʹ൓ө Ϙλϯ੍ޚ ΠϯσΟέʔλදࣔ ϝΠϯεϨουͰॲཧ

Slide 23

Slide 23 text

Target/Action Closure Closure ςΩετೖྗ Ϙλϯ੍ޚ ΠϯσΟέʔλදࣔ ೖྗΛඵ଴ͭ ະೖྗνΣοΫ ॏෳνΣοΫ ೖྗ஋νΣοΫ"1*ૹ৴ ݁ՌΛ7JFXʹ൓ө Ϙλϯ੍ޚ ΠϯσΟέʔλදࣔ ϝΠϯεϨουͰॲཧ

Slide 24

Slide 24 text

Ϙλϯ੍ޚ ΠϯσΟέʔλදࣔ ະೖྗνΣοΫ ॏෳνΣοΫ ݁ՌΛ7JFXʹ൓ө Ϙλϯ੍ޚ ΠϯσΟέʔλදࣔ ϝΠϯεϨουͰॲཧ ςΩετೖྗ ೖྗΛඵ଴ͭ ೖྗ஋νΣοΫ"1*ૹ৴ Target/Action Closure Closure If guard If Closure

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

શ෦1VCMJTIFS Noti f i cationCenter.Publisher Publishers.Map Publishers.HandleEvents Publishers.Debounce Publishers.Filter Publishers.RemoveDuplicates Publishers.FlatMap Publishers.ReceiveOn Publishers.HandleEvents

Slide 29

Slide 29 text

σʔλͷಉظ ࣗಈͰ࠷৽ঢ়ଶʹߋ৽ Subscribers.Assign

Slide 30

Slide 30 text

ෳ਺Օॴ͔Βͷσʔλͷಉظ σʔλͷߋ৽ʹ߹Θͤͯ 7JFXΛߋ৽͢ΔͨΊʹ ϝιουΛݺͼग़͢ඞཁ͕͋Δ

Slide 31

Slide 31 text

ෳ਺Օॴ͔Βͷσʔλͷಉظ σʔλͱ7JFXͷߋ৽Λ ҰՕॴʹू໿Ͱ͖Δ

Slide 32

Slide 32 text

͋ΒΏΔॲཧΛ1VCMJTIFSʹ 5BSHFU"DUJPO %FMFHBUF 1VCMJTIFS .BQ f l BU.BQ 'JMUFS 3FNPWF%VQMJDBUF ʜ ʜ ʜ ,FZ7BMVF 0CTFSWJOH ,70 /PUJ f i DBUJPO $FOUFS $MPTVSF $BMMCBDLT

Slide 33

Slide 33 text

l5IF$PNCJOFGSBNFXPSLQSPWJEFT BEFDMBSBUJWF4XJGU"1*GPS QSPDFTTJOHWBMVFTPWFSUJNF 5IFTFWBMVFTDBOSFQSFTFOUNBOZ LJOETPGBTZODISPOPVTFWFOUTz https://developer.apple.com/documentation/combine ࿈ଓͨ͠ ଟछྨͷඇಉظॲཧͳͲΛ ୯Ұͷํ๏Ͱѻ͏એݴతͳ"1*

Slide 34

Slide 34 text

l5IF$PNCJOFGSBNFXPSLQSPWJEFT BEFDMBSBUJWF4XJGU"1*GPS QSPDFTTJOHWBMVFTPWFSUJNF 5IFTFWBMVFTDBOSFQSFTFOUNBOZ LJOETPGBTZODISPOPVTFWFOUTz https://developer.apple.com/documentation/combine ࿈ଓͨ͠ ଟछྨͷඇಉظॲཧͳͲΛ ୯Ұͷํ๏Ͱѻ͏એݴతͳ"1*

Slide 35

Slide 35 text

l5IF$PNCJOFGSBNFXPSLQSPWJEFT BEFDMBSBUJWF4XJGU"1*GPS QSPDFTTJOHWBMVFTPWFSUJNF 5IFTFWBMVFTDBOSFQSFTFOUNBOZ LJOETPGBTZODISPOPVTFWFOUTz https://developer.apple.com/documentation/combine ࿈ଓͨ͠ ଟछྨͷඇಉظॲཧͳͲΛ ୯Ұͷํ๏Ͱѻ͏એݴతͳ"1*

Slide 36

Slide 36 text

ʮ͜͏͢Δʯͱࡉ͔͘ࢦࣔ͢Δ ͷͰ͸ͳ͘ ʮ͜͏͍ͨ͠ʯͱ໨తΛએݴ͢Δ

Slide 37

Slide 37 text

໨త ޴ׇ͕͍ͨͷͰਫΛҿΉ

Slide 38

Slide 38 text

ࢦࣔత ʮྫྷଂݿ͔ΒϖοτϘτϧͷਫΛऔΓग़ͯ͠ɺ ίοϓʹ஫͍ͰɺҿΈ·͢ɻʯ ໨త ޴ׇ͕͍ͨͷͰਫΛҿΉ

Slide 39

Slide 39 text

એݴత ʮड͚औͬͨਫΛҿΈ·͢ɻʯ ໨త ޴ׇ͕͍ͨͷͰਫΛҿΉ

Slide 40

Slide 40 text

ʮએݴతʯͷϝϦοτ wຊདྷͷ໾ׂʹूதͰ͖Δ wίʔυ͕୹͘ͳΔ w֎෦ঢ়ଶʹґଘͤͣ࠶ར༻͠΍͍͢

Slide 41

Slide 41 text

ςΩετೖྗ Ϙλϯ੍ޚ ΠϯσΟέʔλදࣔ ೖྗΛඵ଴ͭ ະೖྗνΣοΫ ॏෳνΣοΫ ೖྗ஋νΣοΫ"1*ૹ৴ ݁ՌΛ7JFXʹ൓ө Ϙλϯ੍ޚ ΠϯσΟέʔλදࣔ ϝΠϯεϨουͰॲཧ ࢦࣔత

Slide 42

Slide 42 text

ςΩετೖྗ ೖྗΛඵ଴ͭ ະೖྗνΣοΫ ॏෳνΣοΫ ೖྗ஋νΣοΫ"1*ૹ৴ ݁ՌΛ7JFXʹ൓ө Ϙλϯ੍ޚΠϯσΟέʔλඇදࣔ ϝΠϯεϨουͰॲཧ Ϙλϯ੍ޚΠϯσΟέʔλදࣔ એݴత

Slide 43

Slide 43 text

l5IF$PNCJOFGSBNFXPSLQSPWJEFT BEFDMBSBUJWF4XJGU"1*GPS QSPDFTTJOHWBMVFTPWFSUJNF 5IFTFWBMVFTDBOSFQSFTFOUNBOZ LJOETPGBTZODISPOPVTFWFOUTz https://developer.apple.com/documentation/combine ࿈ଓͨ͠ ଟछྨͷඇಉظॲཧͳͲΛ ୯Ұͷํ๏Ͱѻ͏એݴతͳ"1*

Slide 44

Slide 44 text

$PNCJOFΛ࢖͏ϝϦοτ ಺෦Ͱͷ࠷దԽ͕ظ଴Ͱ͖Δ wެ։͞Ε͍ͯͳ͍"1*Λར༻ͨ͠ύϑΥʔϚϯεͷௐ੔ w ଞͷϑϨʔϜϫʔΫͱ࿈ܞ'PVOEBUJPO4XJGU6*

Slide 45

Slide 45 text

$PNCJOFΛ࢖͏ϝϦοτ ಺෦Ͱͷ࠷దԽ͕ظ଴Ͱ͖Δ wެ։͞Ε͍ͯͳ͍"1*Λར༻ͨ͠ύϑΥʔϚϯεͷௐ੔ w ଞͷϑϨʔϜϫʔΫͱ࿈ܞ'PVOEBUJPO4XJGU6* ߴ͍඼࣭͕ظ଴Ͱ͖Δ wมߋͷӨڹ͕গͳ͍ w։ൃऀ͸Ϣʔβʔ͔ͭςελʔ

Slide 46

Slide 46 text

ओཁͳΫϥε

Slide 47

Slide 47 text

1VCMJTIFS

Slide 48

Slide 48 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ 1VCMJTIFS0VUQVU 'BJMVSF&SSPS 0VUQVUਖ਼ৗ࣌ʹ1VCMJTIFS͕ྲྀ͢஋ͷܕ 'BJMVSFΤϥʔ࣌ʹ1VCMJTIFS͕ྲྀ͢ͷ&SSPSܕ

Slide 49

Slide 49 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ 1VCMJTIFS0VUQVU 'BJMVSF&SSPS 0VUQVUਖ਼ৗ࣌ʹ1VCMJTIFS͕ྲྀ͢஋ͷܕ 'BJMVSFΤϥʔ࣌ʹ1VCMJTIFS͕ྲྀ͢ͷ&SSPSܕ ᶃ7BMVF 0VUQVU $PNQMFUJPO ᶄ f i OJTIFE ᶅGBJMVSF 'BJMVSF

Slide 50

Slide 50 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ 1VCMJTIFS0VUQVU 'BJMVSF&SSPS 0VUQVUਖ਼ৗ࣌ʹ1VCMJTIFS͕ྲྀ͢஋ͷܕ 'BJMVSFΤϥʔ࣌ʹ1VCMJTIFS͕ྲྀ͢ͷ&SSPSܕ ᶃ7BMVF 0VUQVU $PNQMFUJPO ᶄ f i OJTIFE ᶅGBJMVSF 'BJMVSF

Slide 51

Slide 51 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ 1VCMJTIFS0VUQVU 'BJMVSF&SSPS 0VUQVUਖ਼ৗ࣌ʹ1VCMJTIFS͕ྲྀ͢஋ͷܕ 'BJMVSFΤϥʔ࣌ʹ1VCMJTIFS͕ྲྀ͢ͷ&SSPSܕ ᶃ7BMVF 0VUQVU $PNQMFUJPO ᶄ f i OJTIFE ᶅGBJMVSF 'BJMVSF

Slide 52

Slide 52 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ 1VCMJTIFS0VUQVU 'BJMVSF&SSPS 0VUQVUਖ਼ৗ࣌ʹ1VCMJTIFS͕ྲྀ͢஋ͷܕ 'BJMVSFΤϥʔ࣌ʹ1VCMJTIFS͕ྲྀ͢ͷ&SSPSܕ ᶃ7BMVF 0VUQVU $PNQMFUJPO ᶄ f i OJTIFE ᶅGBJMVSF 'BJMVSF

Slide 53

Slide 53 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ 0VUQVU 0VUQVU f i OJTIFE 0VUQVU $PNQMFUJPO͢Δ·Ͱ஋Λग़ྗ͠ଓ͚Δ

Slide 54

Slide 54 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ 0VUQVU 0VUQVU GBJMVSF 0VUQVU 0VUQVU f i

Slide 55

Slide 55 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ GBJMVSF f i OJTIFE $PNQMFUJPO͞ΕΔͱೋ౓ͱ஋͸ྲྀ͞ͳ͍

Slide 56

Slide 56 text

1VCMJTIFS ಛఆͷܕͷ஋Λ࣌ؒͱͱ΋ʹ࿈ଓతʹྲྀ͢ f i OJTIFE < >QVCMJTIFS 1VCMJTIFS*OU /FWFS

Slide 57

Slide 57 text

4VCTDSJCFS

Slide 58

Slide 58 text

4VCTDSJCFS 1VCMJTIFS͔Βཉ͍͠෼͚ͩ஋Λड͚औΔ 4VCTDSJCFS*OQVU 'BJMVSF&SSPS *OQVUਖ਼ৗ࣌ʹ4VCTDSJCFS͕ड͚औΔ஋ͷܕ 'BJMVSFΤϥʔ࣌ʹ1VCMJTIFS͕ྲྀ͢ͷ&SSPSܕ

Slide 59

Slide 59 text

4VCTDSJCFS 1VCMJTIFS͔Βཉ͍͠෼͚ͩ஋Λड͚औΔ 4VCTDSJCFS*OQVU 'BJMVSF&SSPS *OQVUਖ਼ৗ࣌ʹ4VCTDSJCFS͕ड͚औΔ஋ͷܕ 'BJMVSFΤϥʔ࣌ʹ1VCMJTIFS͕ྲྀ͢ͷ&SSPSܕ 4VCTDSJCFS*OQVU 'BJMVSF&SSPS 1VCMJTIFS0VUQVU 'BJMVSF&SSPS ܕΛҰகͤ͞Δ ܕΛҰகͤ͞Δ

Slide 60

Slide 60 text

4VCTDSJCFS 1VCMJTIFS͔Βཉ͍͠෼͚ͩ஋Λड͚औΔ TJOL BTTJHO 1VCMJTIFS 4VCTDSJCFS

Slide 61

Slide 61 text

1VCMJTIFS 4VCTDSJCFS 4VCTDSJCFS 4VCTDSJCFS ෳ਺ͷ4VCTDSJCFSͰͭͷ1VCMJTIFSͷ஋΋ड͚औΕΔ

Slide 62

Slide 62 text

4VCTDSJCFSओಋ 4VCTDSJCFS ˞'VUVSFͳͲͷྫ֎͋Γ

Slide 63

Slide 63 text

4VCTDSJCFSओಋ 4VCTDSJCFS ˞'VUVSFͳͲͷྫ֎͋Γ #BDL1SFTTVSF

Slide 64

Slide 64 text

#BDL1SFTTVSF 4VCTDSJCFS͕ඞཁͳྔΛௐ੔Ͱ͖Δ 1VCMJTIFS 4VCTDSJCFS

Slide 65

Slide 65 text

#BDL1SFTTVSF 4VCTDSJCFS͕ඞཁͳྔΛௐ੔Ͱ͖Δ 4VCTDSJCFS %FNBOE VOMJNJUFE͋Δ͚ͩશ෦Լ͍͞ OPOFԿ΋͍Γ·ͤΜ NBY *OU *OU෼Լ͍͞ 1VCMJTIFS ͜ͷ%FNBOE෼͍ͩ͘͞

Slide 66

Slide 66 text

#BDL1SFTTVSF 4VCTDSJCFS͕ඞཁͳྔΛௐ੔Ͱ͖Δ 4VCTDSJCFS 1VCMJTIFS %FNBOE෼͚ͩ0VUQVU ͜ͷ%FNBOE෼͍ͩ͘͞

Slide 67

Slide 67 text

#BDL1SFTTVSF 4VCTDSJCFS͕ඞཁͳྔΛௐ੔Ͱ͖Δ 4VCTDSJCFS ్தͰ%FNBOEௐ੔Մ 1VCMJTIFS %FNBOE෼͚ͩ0VUQVU ͜ͷ%FNBOE෼͍ͩ͘͞ %FNBOE VOMJNJUFE͋Δ͚ͩશ෦Լ͍͞ OPOFࠓͷ··Ͱ͍͍Ͱ͢ɻ NBY *OU *OU෼௥Ճͯ͠Լ͍͞

Slide 68

Slide 68 text

#BDL1SFTTVSF ׆༻ྫ ෳ਺ͷඇಉظॲཧΛ ݺͼग़ͨ͠ॱ൪௨Γʹ ݁ՌΛड͚औΔ ݁Ռ͜ͷจࣈॱ௨Γʹग़ྗ͞Ε·͢ ࿈ଓͯ͠ඇಉظ௨৴Λ࣮ߦ f l BU.BQ NBY1VCMJTIFSTNBY

Slide 69

Slide 69 text

4VCTDSJQUJPO

Slide 70

Slide 70 text

1VCMJTIFS 4VCTDSJCFS ʁ

Slide 71

Slide 71 text

4VCTDSJQUJPO 1VCMJTIFSͱ4VCTDSJCFSΛܨ͛Δ 1VCMJTIFS 4VCTDSJCFS 4VCTDSJQUJPO

Slide 72

Slide 72 text

4VCTDSJQUJPO $BODFMMBCMF 1VCMJTIFS 4VCTDSJCFS QSPUPDPM $BODFMMBCMF 4VCTDSJQUJPO

Slide 73

Slide 73 text

4VCTDSJQUJPO $BODFMMBCMF 1VCMJTIFS DBODFM ͍ͯͩ͘͠͞ 4VCTDSJCFS QSPUPDPM $BODFMMBCMF 4VCTDSJQUJPO

Slide 74

Slide 74 text

4VCTDSJQUJPO $BODFMMBCMF 1VCMJTIFS DBODFM 4VCTDSJCFS QSPUPDPM $BODFMMBCMF 4VCTDSJQUJPO DBODFM ͍ͯͩ͘͠͞

Slide 75

Slide 75 text

4VCTDSJQUJPO $BODFMMBCMF 1VCMJTIFS DBODFM 4VCTDSJCFS QSPUPDPM $BODFMMBCMF 4VCTDSJQUJPO DBODFM ͍ͯͩ͘͠͞

Slide 76

Slide 76 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ 1VCMJTIFS QSPUPDPM $BODFMMBCMF "OZ$BODFMMBCMF 4VCTDSJCFS

Slide 77

Slide 77 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ 1VCMJTIFS QSPUPDPM $BODFMMBCMF "OZ$BODFMMBCMF ϝϞϦ͔Βղ์͞ΕΔ OJMʹͳΔ ͱ 4VCTDSJCFS

Slide 78

Slide 78 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ 1VCMJTIFS QSPUPDPM $BODFMMBCMF "OZ$BODFMMBCMF DBODFM ϝϞϦ͔Βղ์͞ΕΔ OJMʹͳΔ ͱ 4VCTDSJCFS

Slide 79

Slide 79 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ "OZ$BODFMMBCMF

Slide 80

Slide 80 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ "OZ$BODFMMBCMF

Slide 81

Slide 81 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ ϝϞϦ͔Βղ์ EFJOJU ͞ΕΔͱ

Slide 82

Slide 82 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ ϝϞϦ͔Βղ์ EFJOJU ͞ΕΔ

Slide 83

Slide 83 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ "OZ$BODFMMBCMFDBODFM "OZ$BODFMMBCMFDBODFM "OZ$BODFMMBCMFDBODFM "OZ$BODFMMBCMFDBODFM ʜ

Slide 84

Slide 84 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸ࣗಈͰDBODFM͢Δ "OZ$BODFMMBCMFDBODFM "OZ$BODFMMBCMFDBODFM "OZ$BODFMMBCMFDBODFM "OZ$BODFMMBCMFDBODFM ʜ EFJOJU \ʜ^

Slide 85

Slide 85 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸อ࣋͠ͳ͍ͱ͙͢ʹΩϟϯηϧ͞ΕΔ

Slide 86

Slide 86 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸อ࣋͠ͳ͍ͱ͙͢ʹΩϟϯηϧ͞ΕΔ "OZ$BODFMMBCMF

Slide 87

Slide 87 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸อ࣋͠ͳ͍ͱ͙͢ʹΩϟϯηϧ͞ΕΔ "OZ$BODFMMBCMF

Slide 88

Slide 88 text

4VCTDSJQUJPO "OZ$BODFMMBCMF͸อ࣋͠ͳ͍ͱ͙͢ʹΩϟϯηϧ͞ΕΔ

Slide 89

Slide 89 text

ॲཧͷྲྀΕ ࢓૊Έ

Slide 90

Slide 90 text

4VCTDSJCFS↔1VCMJTIFS 1VCMJTIFS 4VCTDSJCFS 1VCMJTIFSTVCTDSJCF @ ݺͿ ಺෦ͰSFDFJWF TVCTDSJCFS Λݺͼ 4VCTDSJCFSͱܨ͕Δ   ⁞ ஋ͷग़ྗΛґཔ͢Δ

Slide 91

Slide 91 text

4VCTDSJCFS↔1VCMJTIFS 1VCMJTIFS 4VCTDSJCFS ஋ͷग़ྗΛґཔ͢Δ 1VCMJTIFSTVCTDSJCF @ ݺͿ ಺෦ͰSFDFJWF TVCTDSJCFS Λݺͼ 4VCTDSJCFSͱܨ͕Δ 4VCTDSJQUJPOΛड͚औΔ ⁞   ⁠ 4VCTDSJCFSSFDFJWF TVCTDSJQUJPO 4VCTDSJQUJPO

Slide 92

Slide 92 text

4VCTDSJCFS↔4VCTDSJQUJPO 4VCTDSJCFS SFRVFTU 4VCTDSJCFST%FNBOE ⁡ 4VCTDSJQUJPO %FNBOEΛ఻͑Δ

Slide 93

Slide 93 text

4VCTDSJCFS↔4VCTDSJQUJPO 4VCTDSJCFS %FNBOEΛ఻͑Δ SFRVFTU 4VCTDSJCFST%FNBOE ⁢ 4VCTDSJQUJPO ஋Λ܁Γฦ͠ૹड৴͢Δ SFDFJWF WBMVF 4VCTDSJCFST%FNBOE 4VCTDSJCFS͸ड͚औͬͨ஋Λݩʹ%FNBOEΛௐ੔Մ ⁡

Slide 94

Slide 94 text

4VCTDSJCFS↔4VCTDSJQUJPO 4VCTDSJCFS $PNQMFUJPOΛड͚औΔ ⁢ ⁣ SFDFJWF f i OJTIFE SFDFJWF GBJMVSF 4VCTDSJQUJPO ஋Λ܁Γฦ͠ૹड৴͢Δ SFDFJWF WBMVF 4VCTDSJCFST%FNBOE 4VCTDSJCFS͸ड͚औͬͨ஋Λݩʹ%FNBOEΛௐ੔Մ %FNBOEΛ఻͑Δ SFRVFTU 4VCTDSJCFST%FNBOE ⁡

Slide 95

Slide 95 text

શମ૾ 4VCTDSJCFS $PNQMFUJPOΛड͚औΔ ⁣ 4VCTDSJQUJPO ⁢ ஋Λ܁Γฦ͠ૹड৴͢Δ %FNBOEΛ఻͑Δ ⁡ ஋ͷग़ྗΛґཔ͢Δ ⁞   4VCTDSJQUJPOΛड͚औΔ ⁠ 1VCMJTIFS

Slide 96

Slide 96 text

ൃදޙͷิ଍ ˞όʔδϣϯͰͷࠩҟʹ஫ҙ J04dJ04 NBD04d 4VCTDSJQUJPOΛड͚औΔॲཧͱ0VUQVUΛड͚औΔॲཧ͕ඇಉظͰߦΘΕ͍ͯͨ 4VCTDSJCF͢Δલʹ0VUQVU͕ྲྀΕͯ͠·͍ड͚औΕͳ͍Մೳੑ͕͋Δ IUUQTGPSVNTTXJGUPSHUDPNCJOFSFDFJWFPOSVOMPPQNBJOMPTFTTFOUWBMVFIPXDBOJNBLFJUXPSL J04Ҏ߱ NBD04Ҏ߱ 4VCTDSJQUJPOΛड͚औΔॲཧͷޙʹ0VUQVUΛड͚औΔॲཧ͕ॱ൪ʹߦΘΕΔ 0VUQVUΛશͯड͚औΕΔ͜ͱΛอূ

Slide 97

Slide 97 text

ॲཧͷྲྀΕ ίʔυ

Slide 98

Slide 98 text

1VCMJTIFS 1VCMJTIFS*OU /FWFS ഑ྻ1VCMJTIFS

Slide 99

Slide 99 text

TJOL $MPTVSFϕʔεͰ0VUQVUͱ$PNQMFUJPOΛड͚औΔ

Slide 100

Slide 100 text

4VCTDSJQUJPOΛड͚औΔ ⁠ 4VCTDSJCFS $PNQMFUJPOΛड͚औΔ ⁣ 4VCTDSJQUJPO ⁢ ஋Λ܁Γฦ͠ૹड৴͢Δ %FNBOEΛ఻͑Δ ⁡ ஋ͷग़ྗΛґཔ͢Δ ⁞   1VCMJTIFS TJOL

Slide 101

Slide 101 text

4VCTDSJQUJPOΛ౉͢ ⁠ 4VCTDSJCFS $PNQMFUJPOΛ఻͑Δ ⁣ 4VCTDSJQUJPO ⁢ ஋Λ܁Γฦ͠ૹड৴͢Δ %FNBOEΛ఻͑Δ ⁡ ஋ͷग़ྗΛґཔ͢Δ ⁞   1VCMJTIFS TJOL ͋Δ͚ͩԼ͍͞ VOMJNJUFE

Slide 102

Slide 102 text

TJOL SFDFJWF7BMVF SFDFJWF$PNQMFUJPO

Slide 103

Slide 103 text

TJOL SFDFJWF7BMVF SFDFJWF7BMVF SFDFJWF7BMVF SFDFJWF7BMVF SFDFJWF$PNQMFUJPO

Slide 104

Slide 104 text

TJOL SFDFJWF7BMVF SFDFJWF7BMVF SFDFJWF7BMVF SFDFJWF$PNQMFUJPO f i OJTIFE SFDFJWF7BMVF SFDFJWF$PNQMFUJPO

Slide 105

Slide 105 text

TJOL TUPSF

Slide 106

Slide 106 text

BTTJHO UPPO ,FZ1BUIΛ࢖ͬͯΦϒδΣΫτͷ஋ʹ7BMVFΛ൓ө

Slide 107

Slide 107 text

BTTJHO UPPO ,FZ1BUIΛ࢖ͬͯΦϒδΣΫτͷ஋ʹ7BMVFΛ൓ө 'BJMVSF͕/FWFSͷ৔߹ʹར༻Մೳ 1VCMJTIFS*OU /FWFS

Slide 108

Slide 108 text

BTTJHO UPPO TUPSF

Slide 109

Slide 109 text

શମ૾ 4VCTDSJCFS $PNQMFUJPOΛड͚औΔ ⁣ 4VCTDSJQUJPO ⁢ ஋Λ܁Γฦ͠ૹड৴͢Δ %FNBOEΛ఻͑Δ ⁡ ஋ͷग़ྗΛґཔ͢Δ ⁞   4VCTDSJQUJPOΛड͚औΔ ⁠ 1VCMJTIFS

Slide 110

Slide 110 text

4VCKFDU

Slide 111

Slide 111 text

4VCKFDU ࣗΒ஋Λ1VCMJTIͰ͖Δ1VCMJTIFS 1VCMJTIFS 4VCKFDU *NNVUBCMF SFBEPOMZ ΠϕϯτͷൃੜʹԠͯ͡ ࣗಈͰ஋Λग़ྗ .VUBCMF SFBEXSJUF खಈͰ஋Λग़ྗ

Slide 112

Slide 112 text

1BTTUISPVHI4VCKFDU 4VCKFDU w 4VCTDSJCFޙʹ1VCMJTI͞Εͨ஋Λड͚औΔ w ॳظ஋͸ෆཁ w ΠϕϯτΛ఻͑Δ৔߹ͳͲʹ࢖༻

Slide 113

Slide 113 text

$VSSFOU7BMVF4VCKFDU 4VCKFDU w ݱࡏ஋ͱ4VCTDSJCFޙʹ1VCMJTI͞Εͨ஋Λड͚औΔ w ॳظ஋͕ඞཁ w ঢ়ଶΛ؂ࢹ͢Δ࣌ͳͲʹ࢖༻

Slide 114

Slide 114 text

$VSSFOU7BMVF4VCKFDU 4VCKFDU ग़ྗํ๏͕छྨ͋Δ w ݱࡏ஋ͱ4VCTDSJCFޙʹ1VCMJTI͞Εͨ஋Λड͚औΔ w ॳظ஋͕ඞཁ w ঢ়ଶΛ؂ࢹ͢Δ࣌ͳͲʹ࢖༻

Slide 115

Slide 115 text

!1VCMJTIFE

Slide 116

Slide 116 text

ˏ1VCMJTIFE ී௨ͷม਺ʹ1VCMJTIFSػೳΛ͚ͭΔ

Slide 117

Slide 117 text

ˏ1VCMJTIFE ී௨ͷม਺ʹ1VCMJTIFSػೳΛ͚ͭΔ

Slide 118

Slide 118 text

ˏ1VCMJTIFE ී௨ͷม਺ʹ1VCMJTIFSػೳΛ͚ͭΔ Λ௨ͯ͠1VCMJTIFSʹΞΫηεͰ͖Δ

Slide 119

Slide 119 text

BTTJHO JOPVUUP J04 4VCTDSJQUJPOͷ؅ཧෆཁ ˏ1VCMJTIFE

Slide 120

Slide 120 text

ˏ1VCMJTIFE DMBTT಺ͷϓϩύςΟʹͷΈઃఆՄೳ

Slide 121

Slide 121 text

ؾΛ͚͍ͭͨϙΠϯτ

Slide 122

Slide 122 text

4VCKFDU!1VCMJTIFE DMBTTΛར༻͢Δ࣌ͷ஫ҙ఺ DMBTTͷΠϯελϯε͸มߋ͞Εͳ͍ͷͰ ಺෦ͷ஋͸มߋ͞ΕΔ͕஋͸ग़ྗ͞Εͳ͍

Slide 123

Slide 123 text

DMBTTͷΠϯελϯε͸มߋ͞Εͳ͍ͷͰ ಺෦ͷ஋͸มߋ͞ΕΔ͕஋͸ग़ྗ͞Εͳ͍ UFNQFSBUVSFWBMVF͸ʹͳΔ ͸ग़ྗ͞Εͳ͍ 4VCKFDU!1VCMJTIFE DMBTTΛར༻͢Δ࣌ͷ஫ҙ఺

Slide 124

Slide 124 text

0QFSBUPS

Slide 125

Slide 125 text

0QFSBUPS 1VCMJTIFS͔Βड͚औͬͨ஋͔Β৽͍͠1VCMJTIFSΛੜ੒ 1VCMJTIFS 0QFSBUPS 1VCMJTIFS

Slide 126

Slide 126 text

0QFSBUPS 1VCMJTIFS͔Βड͚औͬͨ஋͔Β৽͍͠1VCMJTIFSΛੜ੒ 1VCMJTIFS 0QFSBUPS 1VCMJTIFS 0QFSBUPS 1VCMJTIFS ࿈݁ͯ͠࢖͏͜ͱ͕Ͱ͖Δ

Slide 127

Slide 127 text

શ෦1VCMJTIFS Noti f i cationCenter.Publisher Publishers.Map Publishers.HandleEvents Publishers.Debounce Publishers.Filter Publishers.RemoveDuplicates Publishers.FlatMap Publishers.ReceiveOn Publishers.HandleEvents

Slide 128

Slide 128 text

0QFSBUPS $PMMFDUJPOͱಉ͡γϯλοΫεɺ࢖͍ํͷ΋ͷ͕ଟ͍ 0QFSBUPS $PMMFDUJPO ❤

Slide 129

Slide 129 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lz lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 130

Slide 130 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lz lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 131

Slide 131 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lz lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 132

Slide 132 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lz lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 133

Slide 133 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lz lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 134

Slide 134 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 135

Slide 135 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 136

Slide 136 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 137

Slide 137 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lPOFz lz lUXPz lz lz 4VCTDSJCFS

Slide 138

Slide 138 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lUXPz lz lz 4VCTDSJCFS

Slide 139

Slide 139 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lUXPz lz lz 4VCTDSJCFS

Slide 140

Slide 140 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lUXPz lz lz 4VCTDSJCFS

Slide 141

Slide 141 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lUXPz lz lz 4VCTDSJCFS

Slide 142

Slide 142 text

4VCTDSJCFS 0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lUXPz lz lz

Slide 143

Slide 143 text

0QFSBUPST ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lUXPz lz 4VCTDSJCFS

Slide 144

Slide 144 text

0QFSBUPST ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS lUXPz lz 4VCTDSJCFS

Slide 145

Slide 145 text

0QFSBUPS ஋ͷྲྀΕΛݟͯΈΔ 1VCMJTIFS4USJOH /FWFS 4VCTDSJCFS ̒ $PNQMFUJPO f i OJTIFE lz lPOFz lz lUXPz lz lz

Slide 146

Slide 146 text

0QFSBUPS ܨ͛Ε͹ܨ͛Δ΄Ͳܕ͕ෳࡶʹͳΔ 1VCMJTIFST.BQ1VCMJTIFST%FDPEF1VCMJTIFST.BQ,FZ1BUI63-4FTTJP O%BUB5BTL1VCMJTIFS +40/%FDPEFS*OQVU "1*.PEFM +40/%FDPEFS <.PEFM> ˞ܕ໊͸ద౰Ͱ͢

Slide 147

Slide 147 text

0QFSBUPS FSBTF5P"OZ1VCMJTIFS "OZ1VCMJTIFS<.PEFM> &SSPS ˞ܕ໊͸ద౰Ͱ͢

Slide 148

Slide 148 text

0QFSBUPS 1VCMJTIFS͔Βड͚औͬͨ஋͔Β৽͍͠1VCMJTIFSΛੜ੒ 1VCMJTIFS 0QFSBUPS 1VCMJTIFS 0QFSBUPS 1VCMJTIFS 1VCMJTIFS 0QFSBUPS 0QFSBUPS 1VCMJTIFS 0QFSBUPS

Slide 149

Slide 149 text

ଞͷϑϨʔϜϫʔΫͱͷ࿈ܞ

Slide 150

Slide 150 text

͋ΒΏΔॲཧΛ1VCMJTIFSʹ 'PVOEBUJPO w /PUJ f i DBUJPODFOUFS w 5BSHFU"DUJPO w "EIPDDBMMCBDLT w 63-4FTTJPO w ,70 $PNCJOF 1VCMJTIFS 4XJGU6* w !#JOEJOH w !0CTFSWFE0CKFDU w !4UBUF $PSF%BUB w 'FUDIFE3FRVFTU w /4.BOBHFE0CKFDU

Slide 151

Slide 151 text

'PVOEBUJPO$PNCJOF

Slide 152

Slide 152 text

63-4FTTJPO https://developer.apple.com/documentation/foundation/urlsession/processing_url_session_data_task_results_with_combine %BUB5BTL1VCMJTIFS

Slide 153

Slide 153 text

63-4FTTJPO https://developer.apple.com/documentation/foundation/urlsession/processing_url_session_data_task_results_with_combine %BUB5BTL1VCMJTIFS

Slide 154

Slide 154 text

63-4FTTJPO https://developer.apple.com/documentation/foundation/urlsession/processing_url_session_data_task_results_with_combine ᶃ63-͔ΒσʔλΛऔಘ ᶃ ᶄ ᶅ ᶄϨεϙϯείʔυ͕ෆਖ਼ͩͱΤϥʔ ᶅ+40/Λ6TFSܕʹσίʔυ

Slide 155

Slide 155 text

63-4FTTJPO https://developer.apple.com/documentation/foundation/urlsession/processing_url_session_data_task_results_with_combine

Slide 156

Slide 156 text

63-4FTTJPO https://developer.apple.com/documentation/foundation/urlsession/processing_url_session_data_task_results_with_combine ᶃ63-͔ΒσʔλΛऔಘ ᶃ ᶄ ᶅ ᶄࣦഊͨ͠Β࠶औಘ ᶅͦΕͰ΋ࣦഊͨ͠Β୅ΘΓͷํ๏Ͱσʔλऔಘ

Slide 157

Slide 157 text

,70 ,FZ7BMVF0CTFSWJOH /40CKFDU,FZ7BMVF0CTFSWJOH1VCMJTIFS6*4DSPMM7JFX $(1PJOU DMBTT͔ͭ/40CKFDUͷαϒΫϥεͳΒ͹࢖༻Մೳ

Slide 158

Slide 158 text

/PUJGJDBUJPO$FOUFS ͲΜͳ/PUJ f i DBUJPO/BNFʹ΋ରԠ /PUJ f i DBUJPO$FOUFS1VCMJTIFS

Slide 159

Slide 159 text

4XJGU6*$PNCJOF

Slide 160

Slide 160 text

6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 6*,JUΫϩʔδϟ

Slide 161

Slide 161 text

6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 6*,JU$PNCJOF

Slide 162

Slide 162 text

6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6*$PNCJOF

Slide 163

Slide 163 text

5FYU 1VCMJTIFS 6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6*$PNCJOF

Slide 164

Slide 164 text

0CTFSWBCMF0CKFDU 0CTFSWBCMF0CKFDU 6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6*$PNCJOF

Slide 165

Slide 165 text

5FYU 1VCMJTIFS ߋ৽ 6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6*$PNCJOF

Slide 166

Slide 166 text

ߋ৽Λ௨஌ ௨஌ 6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6*$PNCJOF

Slide 167

Slide 167 text

!1VCMJTIFE͕ߋ৽͞ΕΔͱߋ৽͕ඞཁͳ7JFXΛ4XJGU6*͕ࣗಈͰ࠶ඳը ߋ৽ 6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6*$PNCJOF

Slide 168

Slide 168 text

6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 6*,JU 6*-BCFM WBSUFYU4USJOH 7JFX.PEFM WBSJE4USJOH 4UBUF 7JFX

Slide 169

Slide 169 text

6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 6*,JU 6*-BCFM WBSUFYU4USJOH 7JFX.PEFM WBSJE4USJOH 4UBUF 7JFX

Slide 170

Slide 170 text

7JFX.PEFM0CTFSWBCMF0CKFDU !1VCMJTIFEWBSJE4USJOH 6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6* 5FYU WJFX.PEFMJE

Slide 171

Slide 171 text

7JFX.PEFM0CTFSWBCMF0CKFDU !1VCMJTIFEWBSJE4USJOH 6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6* 5FYU WJFX.PEFMJE 4UBUF 7JFX

Slide 172

Slide 172 text

7JFX.PEFM0CTFSWBCMF0CKFDU !1VCMJTIFEWBSJE4USJOH 6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6* 4XJGU6* 5FYU WJFX.PEFMJE 4UBUF 7JFX 4JOHMF4PVSDFPG5SVUI

Slide 173

Slide 173 text

6*ͷঢ়ଶͱදࣔͷߋ৽Λಉظ 4XJGU6* !4UBUF0CKFDUͰ0CTFSWBCMF0CKFDUΛอ࣋

Slide 174

Slide 174 text

͋ΒΏΔඇಉظॲཧΛ1VCMJTIFSʹ 'PVOEBUJPO w /PUJ f i DBUJPODFOUFS w 5BSHFU"DUJPO w "EIPDDBMMCBDLT w 63-4FTTJPO w ,70 $PNCJOF 1VCMJTIFS 4XJGU6* w !#JOEJOH w !0CTFSWFE0CKFDU w !4UBUF $PSF%BUB w 'FUDIFE3FRVFTU w /4.BOBHFE0CKFDU

Slide 175

Slide 175 text

طଘͷ࣮૷ʹ׆༻Ͱ͖Δʁ

Slide 176

Slide 176 text

1BTTUISPVHI4VCKFDUͷ׆༻ ϘλϯͷλοϓΠϕϯτΛ 1VCMJTIFS͔Β௨஌͢Δ

Slide 177

Slide 177 text

1BTTUISPVHI4VCKFDUͷ׆༻ ϘλϯͷλοϓΠϕϯτΛ 1VCMJTIFS͔Β௨஌͢Δ ֎͔Βมߋ͞Εͳ͍Α͏ʹ ಡΈऔΓઐ༻ͳ1VCMJTIFSͷΈެ։͢Δ

Slide 178

Slide 178 text

$VSSFOU7BMVF4VCKFDUͷ׆༻ ॳظ஋͕ඞཁͳ৔߹

Slide 179

Slide 179 text

ˏ1VCMJTIFEͷ׆༻

Slide 180

Slide 180 text

%FMFHBUFͰड͚औͬͨ஋Λ 1VCMJTIFS͔Β௨஌͢Δ %FMFHBUF͔Βܧଓతʹ஋Λग़ྗ͢Δ

Slide 181

Slide 181 text

IBOEMF&WFOUT ֤λΠϛϯάͰॲཧΛ௥ՃͰ͖Δ SFDFJWF4VCTDSJQUJPO1VCMJTIFS͔Β4VCTDSJQUJPOΛड͚औͬͨ SFDFJWF0VUQVU1VCMJTIFS͔Β0VUQVUΛड͚औͬͨ SFDFJWF$PNQMFUJPO1VCMJTIFS͔Β׬ྃ௨஌Λड͚औͬͨ SFDFJWF$BODFM4VCTDSJCFS͔ΒΩϟϯηϧΛґཔ͞Εͨ SFDFJWF3FRVFTU4VCTDSJCFS͔Β%FNBOEΛड͚औͬͨ

Slide 182

Slide 182 text

3FTVMU1VCMJTIFS 3FTVMU%BUB &SSPS7PJE

Slide 183

Slide 183 text

'VUVSF 1VCMJTIFSͰ8SBQ͢Ε͹1VCMJTIFS ΛฦͤΔ 3FTVMU1VCMJTIFS

Slide 184

Slide 184 text

typealias Promise = (Result) -> Void https://developer.apple.com/documentation/combine/future/promise 'VUVSF͸3FTVMU Λग़ྗ͢Δ 3FTVMU1VCMJTIFS

Slide 185

Slide 185 text

https://developer.apple.com/documentation/combine/future/promise ஋ͷग़ྗ͸Ұ౓͚ͩ Τϥʔͷ৔߹͸Τϥʔ͚ͩ 3FTVMU1VCMJTIFS

Slide 186

Slide 186 text

https://developer.apple.com/documentation/combine/deferred 'VUVSF͸ ΠϯελϯεΛੜ੒ͨ͠λΠϛϯάͰ ಺෦ͷॲཧΛ࣮ߦ͢Δ 3FTVMU1VCMJTIFS

Slide 187

Slide 187 text

https://developer.apple.com/documentation/combine/deferred %FGFSSFEͰ࣮ߦΛ஗Ԇͤ͞Δ 3FTVMU1VCMJTIFS

Slide 188

Slide 188 text

,70ͷ׆༻

Slide 189

Slide 189 text

$VTUPN1VCMJTIFS 6*$POUSPMΠϕϯτΛ 1VCMJTIFSʹ͢Δ

Slide 190

Slide 190 text

$VTUPN1VCMJTIFS 1VCMJTIFS࡞੒ 4VCTDSJQUJPO࡞੒ 0QFSBUPS࡞੒ ೚ҙ

Slide 191

Slide 191 text

1VCMJTIFSʹม׵ͯ͠$PNCJOFͷੈք΁ $PNCJOF 1VCMJTIFS 1VCMJTIFS 1VCMJTIFS 1VCMJTIFS 1VCMJTIFS 1VCMJTIFS https://pixabay.com/ja/illustrations/%E5%9C%B0%E7%90%83-4439728/

Slide 192

Slide 192 text

ࠔͬͨ࣌ͷσόοάํ๏

Slide 193

Slide 193 text

https://pixabay.com/ja/vectors/%E3%83%81%E3%82%A7%E3%83%BC%E3%83%B3-%E5%A3%8A%E3%82%8C%E3%81%9F-%E3%83%AA%E3%83%B3%E3%82%AF-%E8%87%AA%E7%94%B1-297842/

Slide 194

Slide 194 text

ࠔͬͨ࣌ͷσόοάํ๏ QSJOU IBOEMF&WFOU ίϯιʔϧͰॲཧͷྲྀΕΛ֬ೝͰ͖Δ

Slide 195

Slide 195 text

ࠔͬͨ࣌ͷσόοάํ๏ CSFBLQPJOU0O&SSPS CSFBLQPJOU ΤϥʔͷݪҼΛελοΫΛݟͯ֬ೝͰ͖Δ

Slide 196

Slide 196 text

ࠔͬͨ࣌ͷσόοάํ๏ 5JNFMBOF http://timelane.tools/

Slide 197

Slide 197 text

ࠓ೔͝঺հͨ͜͠ͱ $PNCJOFͱ͸ʁ $PNCJOFΛ࢖͏ҙٛ ओͳΫϥεΛ஌Δ 1VCMJTIFS 4VCTDSJCFS 4VCTDSJQUJPO 4VCKFDU !1VCMJTIFE ॲཧͷྲྀΕ ࢓૊Έ Λ ஌Δ 0QFSBUPST ͱ͸ʁ طଘͷ࣮૷ʹ ૊ΈࠐΉ 4XJGU6* ϑϨʔϜϫʔΫ σόοάํ๏Λ ஌Δ

Slide 198

Slide 198 text

·ͩ·ͩ஌Βͳ͍͜ͱ͕͋Δ ΋ͬͱ1VCMJTIFS Λ஌Δ ΋ͬͱ0QFSBUPS Λ஌Δ ςετΛॻ͘ ಠࣗͷ1VCMJTIFSΛ ࡞੒͢Δ ΞϓϦΛ࡞੒͢Δ ศརͳϥΠϒϥϦ΍ πʔϧΛ஌Δ

Slide 199

Slide 199 text

΋ͬͱ1VCMJTIFS Λ஌Δ ΋ͬͱ0QFSBUPSTΛ ஌Δ ςετΛॻ͘ ಠࣗͷ1VCMJTIFSΛ ࡞੒͢Δ ΞϓϦΛ࡞੒͢Δ ศརͳϥΠϒϥϦ΍ πʔϧΛ஌Δ ·ͩ·ͩ஌Βͳ͍͜ͱ͕͋Δ 1VCMJTIFS$PNCJOF /FWFS

Slide 200

Slide 200 text

Ͳ͏΍ֶͬͯͿʁ

Slide 201

Slide 201 text

΋ͬͱ$PNCJOFʹ͍ͭͯ஌Δ w 88%$ͷηογϣϯ w ެࣜυΩϡϝϯτ w ΧϯϑΝϨϯετʔΫɺಈը w ॻ੶ɺϒϩάͳͲ

Slide 202

Slide 202 text

$PNCJOFΛ࢖ͬͯΈΔ w 1MBZHSPVOE΍9DPEF1SFWJFXTͰಈ͖Λ֬ೝ͢Δ w νϡʔτϦΞϧ΍ϥΠϒίʔσΟϯάಈըͷਅࣅΛ͠ ͯΈΔ ࣸܦ w ౎౓ɺެࣜϦϑΝϨϯεΛࢀর͢Δ w ݸਓΞϓϦΛ࡞Δ

Slide 203

Slide 203 text

w σόοάπʔϧΛ࢖ͬͯΈΔ w ಉ͡Α͏ʹࠔ͍ͬͯΔਓ͕͍ͳ͍͔୳ͯ͠ΈΔ w ࣭໰Λͯ͠ΈΔ ࠔͬͨͱ͖͸ combinecommunity.slack.com TXJGUEFWFMPQFSTKBQBO

Slide 204

Slide 204 text

IUUQTHJUIVCDPNTU[O$PNCJOF4UVEZ

Slide 205

Slide 205 text

$PNCJOF ,FZWBMVFPCTFSWJOH 5BSHFU"DUJPO /PUJ f i DBUJPO$FOUFS $MPTVSF$BMMCBDLT %FMFHBUF ʜ ʜ ʜ ʜ

Slide 206

Slide 206 text

$PNCJOF ʁ

Slide 207

Slide 207 text

͋Γ͕ͱ͏ ͍͟͝·ͨ͠