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

Compositional Layoutは銀の弾丸になるのか~実際に導入してみて得た知見、全て...

Compositional Layoutは銀の弾丸になるのか~実際に導入してみて得た知見、全て公開しちゃいます~

After iOSDC 2021のLTで公開した内容になります。

Satoshi Komatsu

October 07, 2021
Tweet

More Decks by Satoshi Komatsu

Other Decks in Programming

Transcript

  1. © ZOZO, Inc. https://zozo.jp/ 3 • ϑΝογϣϯ௨ൢαΠτ • 1,400Ҏ্ͷγϣοϓɺ8,400Ҏ্ͷϒϥϯυͷऔΓѻ͍ •

    ৗ࣌83ສ఺Ҏ্ͷ঎඼ΞΠςϜ਺ͱຖ೔ฏۉ2,900఺Ҏ্ͷ৽ண ঎඼Λܝࡌʢ2021೥ 6݄຤࣌఺ʣ • ϒϥϯυݹணͷϑΝογϣϯκʔϯʮZOZOUSEDʯ΍ ίεϝઐ໳ϞʔϧʮZOZOCOSMEʯɺۺͷઐ໳Ϟʔϧ ʮZOZOSHOESʯɺϥάδϡΞϦʔˍσβΠφʔζκʔϯ ʮZOZOVILLAʯΛల։ • ଈ೔഑ૹαʔϏε • ΪϑτϥοϐϯάαʔϏε • πέ෷͍ ͳͲ
  2. © ZOZO, Inc. 12  ;0;0508/ͷ$PNQPTJUJPOBM-BZPVUରԠ $PMMFDUJPO7JFXJO$PMMFDUJPO7JFX $PNQPTJUJPOBM-BZPVU •શମΛҰͭͷCollectionViewͱͯ͠ѻ͏͜ͱ ͕Ͱ͖Δ

    •એݴతʹॻ͘͜ͱ͕Ͱ͖Δ •CollectionViewͷதʹԣ޲͖ͷεΫϩʔϧ͕ ͋ΔViewΛ༰қʹઃఆ͢Δ͜ͱ͕Ͱ͖Δ •CellͷPaging΍ࠨΑͤͳͲΛ؆୯ʹߦ͏͜ ͱ͕Ͱ͖Δ •ෳࡶͳϨΠΞ΢τͰ΋؆୯ʹॻ͘͜ͱ͕ 
 Ͱ͖Δ •ZOZOTOWNͷதͰ΋࣮૷࣮੷͕͋Δ •ॊೈͳϨΠΞ΢τʹରԠ͢Δ͜ͱ͕Ͱ͖Δ •iOS12ҎલͷOSͰ΋࢖༻͢Δ͜ͱ͕Ͱ͖Δ •ΑΓॊೈͳCellͷ੍ޚΛߦ͏͜ͱ͕Ͱ͖Δ
  3. © ZOZO, Inc. 13  ;0;0508/ͷ$PNQPTJUJPOBM-BZPVUରԠ • ৽σβΠϯ͸App Storeͷ༷ʹԣεΫϩʔϧ Λଟ༻

    • ྆ύλʔϯΛൺֱͨ݁͠Ռɺ 
 ίʔυྔ͸ݮগ 
 ηΫγϣϯͷ௥ՃͳͲͷॊೈੑ͸্͕ͬͨ •શମΛҰͭͷCollectionViewͱͯ͠ѻ͏͜ͱ ͕Ͱ͖Δ •એݴతʹॻ͘͜ͱ͕Ͱ͖Δ •CollectionViewͷதʹԣ޲͖ͷεΫϩʔϧ͕ ͋ΔViewΛ༰қʹઃఆ͢Δ͜ͱ͕Ͱ͖Δ •CellͷPaging΍ࠨΑͤͳͲΛ؆୯ʹߦ͏͜ ͱ͕Ͱ͖Δ •ෳࡶͳϨΠΞ΢τͰ΋؆୯ʹॻ͘͜ͱ͕ 
 Ͱ͖Δ $PNQPTJUJPOBM-BZPVU
  4. © ZOZO, Inc. 19  0SUIPHPOBM4DSPMM7JFX w ॎʹεΫϩʔϧͰ͖Δ$PMMFDUJPO7JFXʹରͯ͠ 
 ԣʹεΫϩʔϧͰ͖Δ4DSPMM7JFX

    w ͜ͷPSUIPHPOBM4DSPMM7JFX͸QSJWBUFͳΫϥεͳ ͷͰɺΞΫηεͰ͖ͳ͍ $PNQPTJUJPOBM-BZPVUʹؔ͢Δ5JQT
  5. © ZOZO, Inc. 24  ͦͷଞ೉͍͠σβΠϯྫ w ແݶεΫϩʔϧ w 1BHF-PBEJOH

    ΍Ζ͏ͱࢥ͑͹Ͱ͖ͳ͘΋ͳ͍͔΋͠Εͳ͍͕ɺ ͳ͔ͳ͔ߴίετʹͳͬͯ͠·͏ɻɻɻ $PNQPTJUJPOBM-BZPVUʹؔ͢Δ5JQT
  6. © ZOZO, Inc. 25  0SUIPHPOBM4DSPMMJOH#FIBWJPSͷόά 4FDUJPOͷPSUIPHPOBM4DSPMMJOH#FIBWJPSΛ DPOUJOVPVT(SPVQ-FBEJOH#PVOEBSZʹηοτͨ͠৔߹࠷ޙͷDFMM ͷεΫϩʔϧ͕͏·͘ಈ࡞͠ͳ͍ɻ 


    J04d·Ͱͷؒʹଘࡏɻ 
 04ϨϕϧͰͷڍಈͷόάɻ ͋·Γྑ͍ϫʔΫΞϥ΢ϯυͳ͠ɻ $PNQPTJUJPOBM-BZPVUʹؔ͢Δ5JQT
  7. © ZOZO, Inc. 28 ·ͱΊ  $PNQPTJUJPOBM-BZPVU͸ۜͷ஄ؙͳͷ͔ʁ w ύλʔϯҎ্ͷσβΠϯʹରͯ͠ɺରԠෆՄೳͳ΋ͷ͸ͳ͔ͬͨɻ w

    ࠓ·ͰखಈͰௐ੔͍ͯͨ͠΋ͷΛௐ੔ͯ͘͠ΕΔ"1*͕ἧ͍ͬͯΔͨΊ࣮૷೉қ౓͕Լ͕ͬͨɻ
  8. © ZOZO, Inc. 29 ·ͱΊ  $PNQPTJUJPOBM-BZPVU͸ۜͷ஄ؙͳͷ͔ʁ w ύλʔϯҎ্ͷσβΠϯʹରͯ͠ɺରԠෆՄೳͳ΋ͷ͸ͳ͔ͬͨɻ w

    ࠓ·ͰखಈͰௐ੔͍ͯͨ͠΋ͷΛௐ੔ͯ͘͠ΕΔ"1*͕ἧ͍ͬͯΔͨΊ࣮૷೉қ౓͕Լ͕ͬͨɻ ˠύʔπͷ૊Έ߹Θͤʹ͢Δ͜ͱͰϨΠΞ΢τͷ࣮૷͕༰қʹͰ͖ΔͷͰɺผͷͱ͜Ζʹ࣌ؒ Λׂ͚ΔΑ͏ʹͳͬͨɻ 
 $PMMFDUJPO7JFX͕ඞཁͳ7JFXʹ͓͍ͯɺۜͷ஄ؙͱݴ͑Δɻ
  9. © ZOZO, Inc. 31 ·ͱΊ  $PNQPTJUJPOBM-BZPVU͸ۜͷ஄ؙͳͷ͔ʁ Basic features Basic

    features Exciting, custom features! Exciting, custom features!
  10. © ZOZO, Inc. 33 ੵۃ࠾༻த https://corp.zozo.com/recruit/mid-career/ J04ΤϯδχΞ w ;0;0508/ w

    8&"3 w ܭଌϓϥοτϑΥʔϜ ;0;0(-"44 ;0;0."5  w '""/4 w Φʔϓϯϙδγϣϯ