$30 off During Our Annual Pro Sale. View Details »

全力疾走中でも使えるストップウォッチアプリを作る

Ogijun
September 12, 2022
990

 全力疾走中でも使えるストップウォッチアプリを作る

Ogijun

September 12, 2022
Tweet

Transcript

  1. શྗ࣬૸தͰ΋࢖͑Δ ετοϓ΢ΥονΞϓϦΛ࡞Δ 2022.9.12 iOSDC Japan 2022 גࣜձࣾZOZO ZOZOTOWN։ൃຊ෦ ZOZOTOWNΞϓϦ෦ iOSϒϩοΫ

    Ԯ໺ ൏ / @juginon Copyright © ZOZO, Inc.
  2. © ZOZO, Inc. גࣜձࣾZOZO ZOZOTOWNΞϓϦ෦
 iOSϒϩοΫ Ԯ໺ ൏ 2022.04 ZOZO৽ଔೖࣾ


    ཮্ڝٕྺ 15೥ʢ2008~2022ʣ
 ࣾձਓͰ΋ଓ͚ͯ·͢ 2 Ogijun / @juginon
  3. © ZOZO, Inc. 3

  4. © ZOZO, Inc. 4 ࢢൢͷετοϓ΢Υον࢖͑͹͍͍͡ΌΜ🤔

  5. © ZOZO, Inc. 5 ̋ × ̋ ̋ × ̋

    ̋ ˚ ̋ ଱ٱੑ ϝϞϦʔػೳ ϥοϓػೳ Ձ֨ ߴڃͳ ετοϓ΢Υον Ϧʔζφϒϧͳ ετοϓ΢Υον ʁ ετοϓ΢Υονൺֱ ˇ
  6. © ZOZO, Inc. ̋ × ̋ ̋ × ̋ ̋

    ˚ ̋ 6 ଱ٱੑ ϝϞϦʔػೳ ϥοϓػೳ Ձ֨ ߴڃͳ ετοϓ΢Υον Ϧʔζφϒϧͳ ετοϓ΢Υον J1IPOF📱 ˇ ετοϓ΢Υονൺֱ
  7. © ZOZO, Inc. 7

  8. © ZOZO, Inc. 8 REJECTED

  9. © ZOZO, Inc. 9 ͳͥετοϓ΢ΥονΞϓϦʹ͸ ԻྔϘλϯͷ੍ޚ͕ඞཁͩͬͨͷ͔ʁ

  10. © ZOZO, Inc. 10 ෳ਺ਓ Ұਓ ͳͥԻྔϘλϯ͕ඞཁͳͷ͔ʁ ࿅शʹ͓͚ΔλΠϜܭଌ

  11. © ZOZO, Inc.

  12. © ZOZO, Inc.

  13. © ZOZO, Inc. 13 બख Ϛωʔδϟʔ ૸Γͳ͕ΒετοϓϘλϯ ͕ԡͤͳ͍ બखΛݟͳ͕Β ελʔτετοϓ͕೉͍͠

    ͳͥԻྔϘλϯ͕ඞཁͳͷ͔ʁ ͳͥ΍Γʹ͍͘ͷ͔ʁ
  14. © ZOZO, Inc. 14 બख Ϛωʔδϟʔ ૸Γͳ͕ΒετοϓϘλϯ ͕ԡͤͳ͍ બखΛݟͳ͕Β ελʔτετοϓ͕೉͍͠

    ͳͥԻྔϘλϯ͕ඞཁͳͷ͔ʁ ͳͥ΍Γʹ͍͘ͷ͔ʁ ը໘Λݟ͍ͯͳ͍ঢ়ଶͰૢ࡞͕΍ΓͮΒ͍ʂ
  15. © ZOZO, Inc. 15 ඞਢ߲໨ ɾը໘Λݟͳͯ͘΋ૢ࡞͕Ͱ͖Δ ɾ࣮֬ʹૢ࡞Λߦͬͨͱ͍͏ϑΟʔυόοΫ͕ಘΒΕΔ ͋Δͱخ͍͠ ɾεϚʔτϑΥϯͭͰ׬݁͢Δ 


    ˠ४උ͢Δͷʹ͓ۚͱख͕ؒඞཁͩͱຊ຤స౗ʢετοϓ΢ΥονΛങ͓͏ʂʣ ͳͥԻྔϘλϯ͕ඞཁͳͷ͔ʁ Ͳ͏͢Ε͹ղܾͰ͖Δʁ ɾͲͷ୺຤Ͱ΋ૢ࡞Մೳ ˠ-J%"3΍ਂ౓ΧϝϥͳͲɺಛఆͷ୺຤ʹ͔͠ͳ͍ػೳ͸࢖Θͳ͍
  16. © ZOZO, Inc. 16

  17. © ZOZO, Inc. 17

  18. © ZOZO, Inc. 18

  19. © ZOZO, Inc. 19 ղܾ͢ΔͨΊʹ࡞Γ·ͨ͠

  20. © ZOZO, Inc. 20

  21. © ZOZO, Inc. 21 Ϛωʔδϟʔɾސ໰ڞʹ޷ධ👏 ࣮ࡍʹ૸Γͳ͕Β࢖ͬͯ΋շదʹૢ࡞Ͱ͖ͨ ϦϦʔεޙͷ൓Ԡ ཮্෦Ҏ֎ͷਓʹ΋࢖ͬͯ΋Β͍͑ͯͨ

  22. © ZOZO, Inc. 22 ϦϦʔεޙͷ൓Ԡ (VJEFMJOF1FSGPSNBODF4PGUXBSF3FRVJSFNFOUT ͋ͳͨͷΞϓϦ͸ɺJ04σόΠεͷඪ४తͳεΠονΛඪ४తͰͳ͍ ํ๏Ͱ࢖༻͍ͯ͠·͢ɻ "QQ4UPSF3FWJFX(VJEFMJOFTʹଇͬͨػೳʹ࡞Γ௚͍ͯͩ͘͠͞ɻ

  23. © ZOZO, Inc. 23 App Store ReviewΨΠυϥΠϯ https://developer.apple.com/jp/app-store/review/guidelines/#performance → ԻྔϘλϯ΍ϛϡʔτεΠονͳͲͷ෺ཧϘλϯ͸࢖ͬͯ͸͍͚ͳ͍

    ❌ Volume Watchͷެ։ఀࢭཧ༝͸ʮԻྔϘλϯΛ࢖͍ͬͯΔ͔Βʯ (VJEFMJOFͱ͸ʁ
  24. © ZOZO, Inc. 24 7PMVNF8BUDI7PMVNF8BUDI😭

  25. © ZOZO, Inc. 25 ඞਢ߲໨ ɾը໘Λݟͳͯ͘΋ૢ࡞͕Ͱ͖Δ ɾ࣮֬ʹૢ࡞Λߦͬͨͱ͍͏ϑΟʔυόοΫ͕ಘΒΕΔ ͋Δͱخ͍͠ ɾεϚʔτϑΥϯͭͰ׬݁͢Δ 


    ˠ४උ͢Δͷʹ͓ۚͱख͕ؒඞཁͩͱຊ຤స౗ʢετοϓ΢ΥονΛങ͓͏ʂʣ ɾͲͷ୺຤Ͱ΋ૢ࡞Մೳ ˠ-J%"3΍ਂ౓ΧϝϥͳͲɺಛఆͷ୺຤ʹ͔͠ͳ͍ػೳ͸࢖Θͳ͍ Ͳ͏͢Ε͹ղܾͰ͖Δʁ
  26. © ZOZO, Inc. 26 ɾը໘Λݟͳͯ͘΋ૢ࡞͕Ͱ͖Δ ɾ࣮֬ʹૢ࡞Λߦͬͨͱ͍͏ϑΟʔυόοΫ͕ಘΒΕΔ )BQUJDͷ׆༻ ԻྔϘλϯΛ࢖Θͳ͍Ͱ࣮૷͢Δ

  27. © ZOZO, Inc. 27 ը໘ εϫΠϓ छྨͷΠϯλϥΫγϣϯΛ࣮૷ ɾը໘Λݟͳͯ͘΋ૢ࡞͕Ͱ͖Δ ຊࢦ λοϓ

    γΣΠΫ എ໘ λοϓ ۙ઀ ηϯαʔ ԻྔϘλϯΛ࢖Θͳ͍Ͱ࣮૷͢Δ ɾ࣮֬ʹૢ࡞Λߦͬͨͱ͍͏ϑΟʔυόοΫ͕ಘΒΕΔ
  28. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ ը໘શମΛεϫΠϓՄೳʹ ্ํ޲ͷεϫΠϓ࣌ʹελʔτɾετοϓ͢ΔΑ͏ʹઃఆ .directionͰεϫΠϓํ޲Λ4ํ޲ࢦఆՄೳ ը໘εϫΠϓͷ੍ޚ࣮૷ʢྫʣ
  29. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ ը໘Λ2ຊࢦͰλοϓ͢Δͱελʔτɾετοϓ .numberOfTouchedRequiredͰ൓Ԡ͢Δࢦͷຊ਺Λઃఆ iOSͩͱ3ຊࢦɺiPadOSͩͱ4ຊࢦ·ͰઃఆՄೳ 2ຊࢦλοϓͷ੍ޚ࣮૷ʢྫʣ
  30. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ γΣΠΫ͞ΕͨΒελʔτɾετοϓ CoreMotionͰՃ଎౓ͷੜσʔλΛऔಘ͢Δ͜ͱ΋Մೳ ࠓճ͸UIKitͷmotionEnded()Λ࢖༻ γΣΠΫδΣενϟʔͷ੍ޚ࣮૷ʢྫʣ
  31. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ എ໘λοϓ࣌ʹγϣʔτΧοτΛొ࿥ ొ࿥͞ΕͨSiri shortcut͕ىಈ ετοϓ΢ΥονΛελʔτ/ετοϓ Siri shortcutΛ࣮૷ ελʔτ/ετοϓΛγϣʔτΧοτʹ
  32. © ZOZO, Inc. ۙ઀ηϯαʔͱ͸… ௨࿩࣌ʹࣖΛεϐʔΧʔʹ͚ͭͨͱ͖ɺޡಈ࡞Λ๷͙ͨΊʹ λονύωϧΛແޮԽ͢ΔͨΊͷηϯαʔ εϫΠϓ ຊࢦ λοϓ γΣΠΫ

    എ໘ λοϓ ۙ઀ ηϯαʔ → iPhoneͷ্෦ΛखͰୟ͚͹ɺ؆୯ʹετοϓ΢ΥονΛ ੍ޚͰ͖ΔͷͰ͸ʁ ۙ઀ηϯαʔͷ੍ޚ࣮૷ʢྫʣ
  33. © ZOZO, Inc. 33 N ճ छྨ ճ εϫΠϓ ຊࢦ

    λοϓ γΣΠΫ എ໘ λοϓ ۙ઀ ηϯαʔ Ϙλϯ º º N 4UPQ d ࣮ࡍʹ࢖ͬͯΈͨ
  34. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ Ϙλϯ 34
  35. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ Ϙλϯ 35
  36. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ Ϙλϯ 36
  37. © ZOZO, Inc. 5ճத3ճ੒ޭ ७ਖ਼ετοϓ΢Υονͱಉ͘͡Β͍ͷ੒ޭ཰ εϫΠϓ͕ҙਤ͠ͳ͍ํ޲΁ߦ͖ɺ൓Ԡ͠ͳ͔ͬͨ ্Լࠨӈ͢΂ͯͷεϫΠϓͰ൓Ԡ͢ΔΑ͏ʹ࣮૷͕ͨ͠ɺ ࣼΊํ޲͸ಉ༷ʹ൓Ԡ͠ͳ͔ͬͨ εϫΠϓ ࣮ࡍʹ࢖ͬͯΈͨ

    ௥ه: UIPanGestureRecognizerͰ࣮૷ͨ͠ͱ͜Ζ্هͷ໰୊͸ղܾ
  38. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ Ϙλϯ 38
  39. © ZOZO, Inc. 39 5ճத0ճ੒ޭʢ͢΂ࣦͯഊʣ λοϓͷڧ͞ɾ௕͕͞௨ৗͷλοϓͱ͸ҟͳΔ ࢦ͕཭ΕΔ·Ͱʹಈ͘ɺ౳ʹΑΓ͏·͘൓Ԡ͠ͳ͔ͬͨ ʢ1ຊࢦͳΒʁ → ҙਤͤͣ৮ͬͯ͠·͏ɾ࿈ଓͰλοϓͯ͠͠·͏ʣ

    ը໘Λ৮ΔΠϯλϥΫγϣϯʹ͸҆৺ײͱ͍͏໘Ͱ Ұఆͷ೉͕͋͠͞Δ ຊࢦλοϓ ࣮ࡍʹ࢖ͬͯΈͨ
  40. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ Ϙλϯ 40
  41. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ Ϙλϯ 41
  42. © ZOZO, Inc. 42 ͲͪΒ΋5ճத0ճ੒ޭʢ͢΂ࣦͯഊʣ ❓ ❓ ❓ Ճ଎౓ηϯαʔΛ࢖࣮ͬͨ૷͸૸Δ͜ͱͰʮγΣΠΫ͕ऴΘͬͨʯڥք͕ᐆດʹ… ੜσʔλΛ࢖ͬͨͱͯ͠΋ݕग़͸େมͦ͏

    γΣΠΫɾഎ໘λοϓ ࣮ࡍʹ࢖ͬͯΈͨ
  43. © ZOZO, Inc. εϫΠϓ ຊࢦ λοϓ γΣΠΫ എ໘ λοϓ ۙ઀

    ηϯαʔ Ϙλϯ 43
  44. © ZOZO, Inc. 44 ͲͪΒ΋5ճத5ճ੒ޭʢ͢΂ͯ੒ޭ🎉ʣ ɾ൓Ԡ͢Δ·ͰͷϨεϙϯε͕଎͍ ɾखΛୟ͘Α͏ʹͯ͠૸Γग़ͤΔͷͰ࿅श࣌ͷಈ͖ͱͯࣗ͠વ ɾΰʔϧ࣌ʹେ͖͘ϒϨͯ΋൓Ԡͯ͘͠ΕΔ ɹ→ ҆৺ײɾ࿅श΁ͷूதʹͭͳ͕Δ

    ۙ઀ηϯαʔ ࣮ࡍʹ࢖ͬͯΈͨ
  45. © ZOZO, Inc. 45 1ճ໨ 2ճ໨ 3ճ໨ 4ճ໨ 5ճ໨ Ϙλϯλοϓ

    ✖ ⭕ ⭕ ⭕ ✖ 2ຊࢦλοϓ ✖ ✖ ✖ ✖ ✖ ্ํ޲εϫΠϓ ⭕ ✖ ⭕ ✖ ⭕ γΣΠΫ ✖ ✖ ✖ ✖ ✖ എ໘λοϓ ✖ ✖ ✖ ✖ ✖ ۙ઀ηϯαʔ ⭕ ⭕ ⭕ ⭕ ⭕ λΠϜ͕໰୊ͳ͘औΕΔ࣮૷͸ʁ ࣮ࡍʹ࢖ͬͯΈͨ
  46. © ZOZO, Inc. 46 ແࣄϦϦʔεͰ͖·ͨ͠🎉 🎉 🎉

  47. © ZOZO, Inc. 47 ΞϓϦʹ͸৭ʑͳϢʔεέʔε͕͋Γɺ ҰͭͷछྨͷΞϓϦͰ΋࢖͏ਓ͕ҧ͏ͱ࠷దͳػೳ͸ҟͳΔ ࢖͏ਓ͕୭ͳͷ͔ߟ͑ͯΞϓϦΛ࡞Ζ͏ ࠓճ࣮૷ͨ͠தͰ͸ۙ઀ηϯαʔ͕Ұ൪͏·͘λΠϜ͕औΕͨ ͦͷଞͷΠϯλϥΫγϣϯ΋ɺҧ͏༻్Ͱ͸׆͖Δ΋ͷʹͳΔ ·ͱΊ

  48. © ZOZO, Inc.

  49. None