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

watchOS開発最前線

Shetommy
September 01, 2023

 watchOS開発最前線

iOSDC Japan 2023にて発表したスライドです。

(詳細)
https://fortee.jp/iosdc-japan-2023/proposal/251cd59e-46f8-4445-a8a5-df43bc8a2add

Shetommy

September 01, 2023
Tweet

More Decks by Shetommy

Other Decks in Technology

Transcript

  1. watchOS։ൃ࠷લઢ
    5SBDL#

    View full-size slide

  2. ࣯ ͠ͱΈ

    w ण࢘ΑΓࢗ਎ͷํ͕خ͍͠
    w ݱࡏOPUFࣾͰۈ຿
    w ݸਓ։ൃͰͭΞϓϦΛग़ͯ͠·͢
    IUUQTXXXTIFUPNNZDPN
    1JFDFTPG1BQFS

    8SJTU$PVOUFS

    2

    View full-size slide

  3. ʢ࿩͢͜ͱʣ
    w 8SJTU$PVOUFSΛͭͬͨ͘Ϟνϕʔγϣϯ
    w ෼ͰͰ͖ΔΧ΢ϯλʔΞϓϦ
    w XBUDI04ΞϓϦ։ൃͷ֓ཁ
    w ·ͣXBUDI04୯ମWTJ04ΞϓϦैଐͷબ୒
    w 4XJGU6*Ͱͷ։ൃ͕σϑΝΫτελϯμʔυͱԽͯ͠Δ
    w ը໘ͰදࣔͰ͖Δ৘ใ͕ۃ౓ʹগͳ͍
    w ։ൃ͢Δ্ͰϋϚͬͨ໰୊
    w OBWJHBUJPO5JUMF͕#JOEJOH͢Δͱදࣔ͞Εͳ͍໰୊
    w XBUDI04ΞϓϦͰ9DPEF$MPVEΛ࢖͏ࡍͷ٧·ΓϙΠϯτ
    w ࣮ػσόοά
    w XBUDI04ͰͷΞοϓσʔτ
    w Ϣʔβʔ޲͚৘ใΛμΠδΣετ
    w ։ൃऀ޲͚৘ใΛμΠδΣετ

    ʢ؀ڥʣ

    جຊతʹ͸Լهͷ؀ڥͰͷݕূ݁ՌͰ͢
    XBUDI049DPEF
    3

    View full-size slide

  4. 4
    8SJTU$PVOUFSΛ
    ͭͬͨ͘Ϟνϕʔγϣϯ

    View full-size slide

  5. w "QQMF8BUDIͷ७ਖ਼ΞϓϦͰ͸Χ΢ϯλʔ͕ͳ͍
    w "QQ4UPSFͷطଘΞϓϦͩͱɺͪΐͬͱෆຬ͕͋ͬͨ
    w XBUDI04୯ମͰಈ͍ͯཉ͍͠
    w ը໘λοϓͰΧ΢ϯτΞοϓͯ͠ཉ͍͠
    w ʢͰ͖Ε͹ʣ
    w Χ΢ϯτ͕࣌ؒग़ͯཉ͍͠
    8SJTU$PVOUFSͷը໘
    6

    View full-size slide

  6. ෼ͰͰ͖ΔΧ΢ϯλʔΞϓϦ
    7

    View full-size slide

  7. ͜Ε͚ͩͰλοϓͨ͠Β਺૿͑ΔΧ΢ϯλʔΞϓϦ͕Ͱ͖·͢
    ʢ1PXFSPG4XJGU6*ʣ
    8

    View full-size slide

  8. XBUDI04ΞϓϦ։ൃͷ֓ཁ
    9

    View full-size slide

  9. w XBUDI04͔ΒJ04ΞϓϦ DPNQBOJPOJ04BQQ
    ͸ඞਢͰ͸ͳ͘ͳͬͨ
    w ϓϩδΣΫτ࡞੒࣌ʹબ୒
    ·ͣXBUDI04୯ମWTJ04ΞϓϦैଐͷબ୒
    10

    View full-size slide

  10. w ैଐˠ୯ମͷίϯόʔτ΋Մೳ
    w ٯ͸ʁ
    ·ͣXBUDI04୯ମWTJ04ΞϓϦैଐͷબ୒
    11

    View full-size slide

  11. w XBUDI04͔Β4XJGU6*ͷར༻͕Մೳ
    w ͦΕҎલ͸8BUDI,JUY4UPSZCPBSE
    w 6*,JU͸ͦ΋ͦ΋࢖͑ͳ͔ͬͨ
    w ࠓͳΒ4XJGU6*Ұ୒
    w XBUDI04ͷͱ͖͸4XJGU6*ͳͷͰ͕͢͞ʹා͕͋ͬͨ͞
    w એݴత6*ͱ"QQMF8BUDIͷখ͍͞ը໘͸૬ੑ͕͍͍
    w υΩϡϝϯτ΋4XJGU6*͕લఏʹͳͬͯΔ
    4XJGU6*Ͱͷ։ൃ͕σϑΝΫτελϯμʔυͱԽͯ͠Δ
    12

    View full-size slide

  12. w 4XJGU6*͸XBUDI04޲͚ʹ࠷దԽ<ཁग़య>
    ͞ΕͨڍಈΛ͢Δ
    w ͜Ε͕݁ߏ༧૝֎
    w ʮಈ͔͍ͨ͠ಈ࡞ʯ͔ΒͷٯҾ͖ʹͳΔͷͰɺ୳͢ͷ͕೉͍͠
    w Լͷը૾ͷʮɾɾʯΈ͍ͨͳදࣔɺͲ͏ͨ͠Β͍͍ͱࢥ͍·͢ʁ
    4XJGU6*Ͱͷ։ൃ͕σϑΝΫτελϯμʔυͱԽͯ͠Δ
    13

    View full-size slide

  13. w ্ͷը૾ͷʮɾɾʯΈ͍ͨͳදࣔɺͲ͏ͨ͠Β͍͍ͱࢥ͍·͢ʁ
    w ਖ਼ղ͸5BC7JFX
    w ͪ͜Βͷ;FOOهࣄʹͱͯ΋ॿ͚ΒΕ·ͨ͠
    w ʲXBUDI04ʳXBUDI,JUY4XJGU6*Ͱ࢖༻Ͱ͖Δ6*·ͱΊ
    w IUUQT[FOOEFWOBPZB@NBFEBBSUJDMFTGEFGCB
    4XJGU6*Ͱͷ։ൃ͕σϑΝΫτελϯμʔυͱԽͯ͠Δ
    14

    View full-size slide

  14. w J04ΞϓϦͱ͸σβΠϯ͕׬શʹผʹͳΔ
    w จࣈϥϕϧཁૉͰ͍͑͹٧Ίͯίϯϙʔωϯτ͕ݶք
    w λΠτϧཁૉͷ৘ใ͕େࣄ
    w ͜ͷը໘͸ԿʁΛ୺తʹදݱ͢΂͖
    w ˢΉ͔͍ͣ͠
    ը໘ͰදࣔͰ͖Δ৘ใ͕ۃ౓ʹগͳ͍
    15
    ϫʔΫΞ΢τͷྫ
    /BWJHBUJPO5JUMF





    View full-size slide

  15. w "QQMF७ਖ਼ͷετοϓ΢ΥονΞϓϦͷྫ
    w XBUDI04͸J04ͷλϒ͕ผΞϓϦ
    w XBUDI04͸࠷ॳͷը໘Ͱબ୒͕ೖΔ
    ը໘ͰදࣔͰ͖Δ৘ใ͕ۃ౓ʹগͳ͍
    16

    View full-size slide

  16. w 8SJTU$PVOUFS΋Ξφϩάද͚͍ࣔͭͨ
    w ͕ɺΞϓϦىಈ࣌ʹ͙͢Χ΢ϯλʔը໘ʹͳͬͯཉ͍͠
    w ೰
    ը໘ͰදࣔͰ͖Δ৘ใ͕ۃ౓ʹগͳ͍
    17

    View full-size slide

  17. ։ൃ͢Δ্ͰϋϚͬͨ໰୊
    18

    View full-size slide

  18. w ·ͣ͸ͪ͜Βͷ4XJGU6*ͷίʔυΛ͝ཡ͍ͩ͘͞
    OBWJHBUJPO5JUMF͕#JOEJOH͢Δͱදࣔ͞Εͳ͍໰୊
    19

    View full-size slide

  19. OBWJHBUJPO5JUMF͕#JOEJOH͢Δͱදࣔ͞Εͳ͍໰୊
    20
    J04Ͱͷڍಈ

    View full-size slide

  20. OBWJHBUJPO5JUMF͕#JOEJOH͢Δͱදࣔ͞Εͳ͍໰୊
    21
    XBUDI04Ͱͷڍಈ

    View full-size slide

  21. w ͨͿΜ࢓༷ͬΆ͍
    w XBUDI04YͰࢼ͚ͨ͠Ͳڍಈ͸ಉ͡
    OBWJHBUJPO5JUMF͕#JOEJOH͢Δͱදࣔ͞Εͳ͍໰୊
    22
    IUUQTEFWFMPQFSBQQMFDPNEPDVNFOUBUJPOTXJGUVJWJFXOBWJHBUJPOUJUMF @
    POS

    View full-size slide

  22. w ҆௚ʹOBWJHBUJPO5JUMFʹจࣈྻΛ౉͢ͱɺߋ৽ʹ͸ରԠͰ͖ͳ͍
    w ԼهͷΑ͏ʹ!1VCMJTIFEΛ෇༩ͨ͠ϓϩύςΟͰ

    0CTFSWBCMF0CKFDUΛܦ༝͢Δͱͳ͔ͥදࣔͰ͖Δ
    ରࡦ
    23

    View full-size slide

  23. w XBUDI04ΞϓϦͰ9DPEF$MPVEΛͦͷ··࢖͓͏ͱ͢ΔͱϏϧυͰ͖ͳ͍
    w 9DPEF$MPVE͸J04ͩͱ৭ʑ্ख͘ղܾͯ͘͠ΕΔ͕ɺ
    ɹXBUDI04ͩͱ఺ରԠ͕ඞཁͩͬͨ
    XBUDI04ΞϓϦͰ9DPEF$MPVEΛ࢖͏ࡍͷ٧·ΓϙΠϯτ
    24

    View full-size slide

  24. w ʢલఏʣ
    w XBUDI04ΞϓϦʹ͸ͭͷ5BSHFU͕Ͱ͖Δ
    w J04"QQ5BSHFU
    w XBUDI04"QQ5BSHFU
    w #VOEMFJE΋ͭͰ͖Δ
    XBUDI04ΞϓϦͰ9DPEF$MPVEΛ࢖͏ࡍͷ٧·ΓϙΠϯτ
    25

    View full-size slide

  25. w ରԠ̍
    w "QQMF%FWFMPQFSͷαΠτ͔ΒJ04XBUDI04޲͚ͷJEΛ྆ํ௥Ճ
    w $FSUJ
    fi
    DBUFT *EFOUJ
    fi
    FST1SP
    fi
    MFT

    w 9DPEF$MPVEʹ೚ͤΔͱɺXBUDI04޲͚͚ͩΛ௥Ճͨ͠
    XBUDI04ΞϓϦͰ9DPEF$MPVEΛ࢖͏ࡍͷ٧·ΓϙΠϯτ
    26

    View full-size slide

  26. XBUDI04ΞϓϦͰ9DPEF$MPVEΛ࢖͏ࡍͷ٧·ΓϙΠϯτ
    27
    w ࢀߟ·Ͱʹɺ9DPEF$MPVEͷΞΫγϣϯ͸ͪ͜Β

    View full-size slide

  27. w ରԠ
    w ରԠ͚ͩͩͱετΞʹϏϧυ௥Ճ͢Δ·Ͱ͸Ͱ͖ͳ͔ͬͨ
    w 9DPEF$MPVEʹ͓೚ͤ͢Δͱɺ

    "QQ4UPSFͷ"QQ৘ใʹXBUDI04ͷ#VOEMFJE͕ઃఆ͞ΕΔ
    w ͜ΕΛJ04ͷ#VOEMFJEʹม͑Δ
    XBUDI04ΞϓϦͰ9DPEF$MPVEΛ࢖͏ࡍͷ٧·ΓϙΠϯτ
    28

    View full-size slide

  28. w खಈϦϦʔεͷͱ͖΋J04ϓϥοτϑΥʔϜΛબͿͬΆ͍
    XBUDI04ΞϓϦͰ9DPEF$MPVEΛ࢖͏ࡍͷ٧·ΓϙΠϯτ
    29

    View full-size slide

  29. w ରԠʹ͍ͭͯ͸ॻ͍ͯ͋Δ͕ɺରԠ͸Ͳ͜ʹ΋ॻ͍ͯͳ͔ͬͨ
    XBUDI04ΞϓϦͰ9DPEF$MPVEΛ࢖͏ࡍͷ٧·ΓϙΠϯτ
    30
    IUUQTEFWFMPQFSBQQMFDPNEPDVNFOUBUJPOYDPEFDPO
    fi
    HVSJOHZPVS
    fi
    STUYDPEFDMPVEXPSL
    fl
    PX

    View full-size slide

  30. w ࣮ػσόοά͕େมͩͬͨ
    w "QQMF8BUDIΛ༗ઢͰ.BD#PPLʹͭͳ͙͜ͱ͸Ͱ͖ͳ͍
    w ϖΞϦϯά͍ͯ͠ΔJ1IPOFܦ༝ͱͳΓɺ͜ͷ઀ଓ͕ෆ҆ఆ
    ࣮ػσόοά
    31
    w "QQMF8BUDIͷύείʔυઃఆΛͳ͘͢ͱ҆ఆ͢Δʂ
    w ύείʔυະઃఆͷ"QQMF8BUDI͸"QQMF1BZ࢖͑ͳ͘ͳΔͷͰ஫ҙ

    View full-size slide

  31. XBUDI04ͰͷΞοϓσʔτ
    32

    View full-size slide

  32. w 6*69ͷϦσβΠϯ
    w %JHJUBM$SPXOΛਨ௚ํ޲ͷϖʔδϯάʹద༻
    w αΠυϘλϯ͸$POUSPM$FOUFSΛ։͘
    w %JHJUBM$SPXOͷμϒϧΫϦοΫ͕

    ࠷ۙ࢖ͬͨΞϓϦʹׂΓ౰ͯ
    w ΞϓϦબ୒ը໘΋ԣ෯͕ݻఆ͞ΕΔ໛༷
    w εϚʔτελοΫͷ௥Ճ
    w ࣌ܭը໘͔Β%JHJUBM$SPXOͷճస
    w ७ਖ਼ΞϓϦͷϦσβΠϯ
    w จࣈ൫ͷ௥Ճʢεψʔϐʔʣ
    w αΠΫϦϯάϋΠΩϯά޲͚ͷػೳڧԽ
    w ϚΠϯυϑϧωεΞϓϦʹ৽ػೳ
    w 4UBUFPG.JOEʢ৺ͷ݈߁ʣͷ௥Ճ
    Ϣʔβʔ޲͚৘ใΛμΠδΣετ
    33
    IUUQTXXXBQQMFDPNKQOFXTSPPNJOUSPEVDJOHXBUDIPTBNJMFTUPOFVQEBUFGPSBQQMFXBUDI

    View full-size slide

  33. w 5BC7JFXʹWFSUJDBM1BHFελΠϧ͕௥Ճ
    w %JHJUBM$SPXOʹΑΔਨ௚ํ޲ͷϖʔδϯά
    w ॎํ޲ʹ௕͍7JFX͸εΫϩʔϧಈ࡞ʹͳΔʢݡ͍ʣ
    w XBUDI04ΞϓϦ಺Ͱ%JHJUBM$SPXOΛ࢖͏ͱ͖͸஫ҙ
    w ਨ௚ϖʔδϯάҎ֎Ͱ࢖Θͳ͍ํ͕͍͍·Ͱ͋Δʁ
    ։ൃऀ޲͚৘ใΛμΠδΣετ
    34

    View full-size slide

  34. w UPPMCBSͷϘλϯ͕ϦσβΠϯ
    w ˣͷͲͪΒ͔Λ࢖͍ͬͯΔͱग़ͤΔ
    w /BWJHBUJPO4QMJU7JFX
    w /BWJHBUJPO4UBDL
    w 6*ʹҰ؏ੑ͕ग़ͤΔ
    ։ൃऀ޲͚৘ใΛμΠδΣετ
    35

    View full-size slide

  35. w εϚʔτελοΫ΁ͷదԠ
    w XBUDI04Ͱ΢ΟδΣοτ։ൃ
    w ৄ͘͠͸88%$ʮ#VJMEXJEHFUTGPSUIF4NBSU4UBDLPO"QQMF
    8BUDIʯΛࢀর
    ։ൃऀ޲͚৘ใΛμΠδΣετ
    36

    View full-size slide

  36. 37
    https://engineerteam.note.jp/
    OPUF͸஥ؒΛืू͍ͯ͠·͢ɻ

    View full-size slide

  37. 38
    ͋Γ͕ͱ͏͍͟͝·ͨ͠

    View full-size slide

  38. w ʢ˞εϥΠυதͰ঺հ͍ͯ͠Δ΋ͷ͸আ͘ʣ
    w ެࣜυΩϡϝϯτ
    w IUUQTEFWFMPQFSBQQMFDPNEPDVNFOUBUJPOXBUDIPTBQQT
    w 88%$
    w .FFUXBUDI04
    w IUUQTEFWFMPQFSBQQMFDPNWJEFPTQMBZXXED
    w 6QEBUFZPVSBQQGPSXBUDI04
    w IUUQTEFWFMPQFSBQQMFDPNWJEFPTQMBZXXED
    w 8SJTU$PVOUFSʹ͍ͭͯ

    w 8SJTU$PVOUFS։ൃ࣌ͷεΫϥοϓ
    w IUUQT[FOOEFWTUTDSBQTDFECECF
    w "QQ4UPSF৘ใ
    w IUUQTBQQTBQQMFDPNBQQXSJTUDPVOUFSXBUDIBQQJE
    ࢀߟࢿྉ
    39

    View full-size slide