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

そろそろCombine

 そろそろCombine

iOSDC2020 presentation about Combine.framework

[email protected]

September 20, 2020
Tweet

Other Decks in Programming

Transcript

  1. ͋ΒΏΔॲཧΛ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
  2. ͋ΒΏΔॲཧΛ1VCMJTIFSʹ 5BSHFU"DUJPO %FMFHBUF  1VCMJTIFS .BQ f l BU.BQ 'JMUFS

    3FNPWF%VQMJDBUF ʜ ʜ ʜ ,FZ7BMVF 0CTFSWJOH ,70 /PUJ f i DBUJPO $FOUFS $MPTVSF $BMMCBDLT
  3. 4VCTDSJCFS↔1VCMJTIFS  1VCMJTIFS  4VCTDSJCFS ஋ͷग़ྗΛґཔ͢Δ 1VCMJTIFSTVCTDSJCF @ ݺͿ ಺෦ͰSFDFJWF

    TVCTDSJCFS Λݺͼ 4VCTDSJCFSͱܨ͕Δ 4VCTDSJQUJPOΛड͚औΔ ⁞   ⁠ 4VCTDSJCFSSFDFJWF TVCTDSJQUJPO  4VCTDSJQUJPO
  4. 4VCTDSJCFS↔4VCTDSJQUJPO  4VCTDSJCFS %FNBOEΛ఻͑Δ SFRVFTU 4VCTDSJCFST%FNBOE ⁢  4VCTDSJQUJPO ஋Λ܁Γฦ͠ૹड৴͢Δ

    SFDFJWF WBMVF 4VCTDSJCFST%FNBOE 4VCTDSJCFS͸ड͚औͬͨ஋Λݩʹ%FNBOEΛௐ੔Մ ⁡
  5. 4VCTDSJCFS↔4VCTDSJQUJPO  4VCTDSJCFS $PNQMFUJPOΛड͚औΔ ⁢ ⁣ SFDFJWF f i OJTIFE

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

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

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

    ⁡ ஋ͷग़ྗΛґཔ͢Δ ⁞   4VCTDSJQUJPOΛड͚औΔ ⁠  1VCMJTIFS
  9. ͋ΒΏΔॲཧΛ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
  10. ͋ΒΏΔඇಉظॲཧΛ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
  11. ࠓ೔͝঺հͨ͜͠ͱ $PNCJOFͱ͸ʁ $PNCJOFΛ࢖͏ҙٛ ओͳΫϥεΛ஌Δ 1VCMJTIFS 4VCTDSJCFS 4VCTDSJQUJPO 4VCKFDU !1VCMJTIFE ॲཧͷྲྀΕ

    ࢓૊Έ Λ ஌Δ 0QFSBUPST ͱ͸ʁ طଘͷ࣮૷ʹ ૊ΈࠐΉ 4XJGU6*  ϑϨʔϜϫʔΫ σόοάํ๏Λ ஌Δ