App Clipをざっくり把握しよう

App Clipをざっくり把握しよう

CA.swift #12 WWDC20報告会
App Clipの動画3本+HIG - App Clipsの内容を詰め込んだスライド

9d1961575e45a8286cdde5f86dbba312?s=128

akatsuki174

July 01, 2020
Tweet

Transcript

  1. App ClipΛ ͬ͘͟Γ೺Ѳ͠Α͏ CA.swift #12 WWDC20ใࠂձ @akatsuki174

  2. ࣗݾ঺հ

  3. None
  4. • ਢ౻ຘʢ@akatsuki174ʣ • iOS→AndroidΤϯδχΞ • גࣜձࣾTimersॴଐ • Ұ൪Θ͘Θͨ͘͠ػೳɿWidget ຊ೔ൃද ճ໨

  5. ΞΠεϒϨΠΫ 5

  6. ࠓ೔ͷ࿩

  7. ֓ཁ • App Clipͱ͸ • App Clipͷ࡞Γํ • ཈͓͑ͯ͘΂͖ϙΠϯτ

  8. ͜ͷࢿྉͷݩʹͳͬͨಈը • Configure and link your app clips • https://developer.apple.com/videos/play/

    wwdc2020/10146/ • Explore app clips • https://developer.apple.com/videos/play/wwdc2020/10174 • Streamline your app clip • https://developer.apple.com/videos/play/ wwdc2020/10120/
  9. ͜ͷࢿྉͷݩʹͳͬͨࢿྉ • Human Interface Guidelines - App Clips • https://developer.apple.com/design/

    human-interface-guidelines/app-clips/ overview/
  10. ࠓ೔ͷࢿྉ

  11. ࠓ೔ͷࢿྉ • NDAతʹ΍͹Ίͳͱ͜ΖΛൈ͔ͯ͠Ξοϓࡁ • ͜ͷࢿྉ͸͔֬ܽଛͳ͠ • TwitterͰྲྀͯ͠·͢

  12. App Clipͱ͸

  13. App Clipͱ͸ • ΞϓϦΛμ΢ϯϩʔυ͠ͳͯ͘΋ΞϓϦͷɹ Ұ෦ΛମݧͰ͖Δ • NFCλά΍εϚʔτΞϓϦόφʔ͔Βىಈɹ Ͱ͖Δ

  14. None
  15. None
  16. App ClipΧʔυ

  17. ΞϓϦͷϑϩʔΠϝʔδ

  18. App ClipͷϑϩʔΠϝʔδ

  19. ಋೖϝϦοτ • ΞϓϦͷମݧΛͯ͠΋Β͏ϋʔυϧ͕Լ͕Δ • ෺ཧతͳϙΠϯτ͔ΒΞϓϩʔνͰ͖Δ • ༰ྔ͕͍ܰʢ10MBҎԼʹ͢Δʣ • ͙͢ʹར༻Ͱ͖Δ

  20. ׆༻ྫ • εϜʔδʔΛࣄલ஫จͯ͠ళฮड͚औΓ • NFCλάΛ࢖ͬͯࣗసंିग़ • ඒज़ؗͰɺ࡞඼ͷԣʹQRίʔυΛ༻ҙͯ͠ɹ Ի੠ղઆ

  21. ىಈํ๏

  22. App Clipίʔυ

  23. App ClipΛ࡞Ζ͏ - ࣮૷͠Α͏ -

  24. αʔόଆͷ४උ • apple-app-site-associationϑΝΠϧʹ appclips߲໨Λ௥Ճ͢Δ

  25. App ClipϓϩδΣΫτͷ࡞੒ • App Clip༻ͷλʔήοτΛ௥ՃɺAssociated DomainsʹApp ClipͷυϝΠϯΛ௥Ճ

  26. ىಈίʔυʢSwiftUIʣ • NSUserActivity͔ΒwebpageURLΛऔಘ

  27. ىಈίʔυʢUIKitʣ • NSUserActivity͔ΒwebpageURLΛऔಘ

  28. λʔήοτ΁ͷ௥Ճ • App ClipΛಈ্͔͢Ͱඞཁͳίʔυͱɹɹɹ ΞηοτΛApp Clipλʔήοτʹ௥Ճ

  29. App ClipΛ࡞Ζ͏ - URLΛઃఆ͢Δ -

  30. App Store ConnectͰ΍Δ͜ͱ • App Clip Experienceͷઃఆ • σϑΥϧτͷApp ClipΧʔυɺݸʑͷ

    ExperienceͷApp ClipΧʔυͷઃఆ • ෺ཧλά౳͔Β΋ىಈͰ͖ΔΑ͏ʹ͍ͨ͠ɹ ͳΒʮߴ౓ͳઃఆʯΛߦ͏
  31. Default App ClipΧʔυͷઃఆ

  32. App Clip Experienceͷઃఆ

  33. App Clip Experienceͷઃఆ

  34. σόοά͢Δ

  35. ؀ڥม਺ͷઃఆ • _XCAppClipURLΛઃఆ͢ΔͱͦͷURLͰىಈ Ͱ͖Δ

  36. ؀ڥม਺ͷઃఆ εϜʔδʔͷ छྨ Ґஔ৘ใ

  37. Q&A

  38. App Clip͚ͩ࡞ͬͯ഑෍Ͱ͖Δʁ • • େݩͷΞϓϦ͸ඞཁ

  39. ෳ਺ͷApp ClipΛઃఆͰ͖Δʁ • • ྫ͑͹ϨετϥϯΞϓϦͷ৔߹ɺ஫จ༻ͱɹ ༧໿༻ͷApp Clip ExperienceΛઃఆͰ͖Δ • melamela.example/order

    • melamela.example/reservation
  40. ͋Δళฮ͚ͩڍಈΛม͑ΒΕΔʁ • • Ϋύνʔϊళฮʢbrighteggcafe.example/ store/cupertinoʣ͚ͩಛผͳڍಈʹ͢ΔͳΒ ֤ళฮڞ௨ͷbrighteggcafe.example/store/ Λొ࿥ͭͭ͠ɺΫύνʔϊళฮͷURL΋ొ࿥ɹ ͓͚ͯ͠͹ྑ͍

  41. ΞϓϦΛΠϯετʔϧࡁΈͰ App Clip ExperienceΛ౿ΜͩΒʁ • App ClipͰ͸ͳ͘ΞϓϦ͕։͘

  42. ϩάΠϯ΍ࢧ෷͍ػೳ͸࢖͑Δʁ • • Apple Pay, Sign in with Appleͷར༻͕ਪ঑ɹ ͞Ε͍ͯΔ

    • ϩάΠϯ͸λεΫ׬ྃޙʹٻΊΔͷ͕ɹɹɹ ๬·͍͠
  43. ϓογϡ௨஌͸࢖͑Δʁ • • ஫จͨ͠εϜʔδʔ͕ग़དྷ্͕ͬͨͱ͖ɺɹ ύʔΩϯάϝʔλʔͷظݶ͕੾Εͨͱ͖ͳͲʹ ௨஌͢ΔͳͲ • ىಈޙ࠷େ8࣌ؒ·ͰεέδϡʔϧͰ͖Δ • 8࣌ؒҎ্ʹͳΔͳΒ໌ࣔతʹڐՄΛٻΊΔ

  44. ΧϝϥͳͲͷڐ୚͸ΞϓϦʹɹ ͨ͠ޙ΋࠶౓औΔඞཁ͋Δʁ • • ΧϝϥɺϚΠΫɺBluetoothΞΫηεͳͲͷɹ ೝূ৘ใ͸ΞϓϦΠϯετʔϧ࣌ʹҾ͖ɹɹ ܧ͕ΕΔ • ※ଞʹ΋Ҡߦ͍ͨ͠σʔλ͕͋Ε͹ɺڞ༗ɹ σʔλίϯςφʹอଘͯ͠ҠߦͰ͖Δ

  45. Ґஔ৘ใɺ௨஌ͷڐ୚͸͍ͭ΋ ͷΞϥʔτΛ࢖͏ͷʁ • • Ұఆ৚݅ԼͳΒApp Clip্ͰTurn On/Offͯ͠ ΋Β͏͜ͱ͕Ͱ͖Δ

  46. App Clip͸ͣͬͱ࢒ͬͯΔͷʁ • • Ұఆظؒʢ30೔ͬΆ͍ʣ࢖ΘΕͳ͍ͱApp Clipͱͦͷσʔλ͸࡟আ͞ΕΔ

  47. όοΫάϥ΢ϯυॲཧ͸Ͱ͖Δʁ • • ΍Βͳ͍Α͏ʹ͠Α͏

  48. TestFlight഑৴Ͱ͖Δʁ • • App Store ConnectͷTestFlightλϒ͔ΒApp ClipηΫγϣϯΛݟ͚ͭɺʮAdd App Clip InvocationʯΛΫϦοΫ

  49. ·ͱΊ

  50. ·ͱΊ • App ClipΛಋೖ͢ΔͱΞϓϦΛʮ͓ࢼ͠ମݧʯ ͯ͠΋Β͑Δ • ίʔυ͸ΞϓϦͱڞ༗ͯ͠࢖͑ΔͷͰൺֱతɹ ָʹ४උͰ͖Δ

  51. ೔ຊޠࢿྉ

  52. ݟͯͶ • App Clipͷ֓ཁͱઃఆํ๏ • https://qiita.com/akatsuki174/items/4d564e3c4f1c99cfff19 • App Clipͷઃܭͱߏஙํ๏ •

    https://qiita.com/akatsuki174/items/ 0e2e9c731b3c033c2ee8 • ߹ཧతͳApp ClipΛ࡞੒͢Δ • ໌೔ެ։Ͱ͖Δ͸ͣ 5
  53. ݟͯͶ • HIG - App Clipsͷͬ͘͟Γ຋༁ • https://twitter.com/akatsuki174/status/ 1276481990313734144 5

  54. એ఻

  55. iOSDCνέοτൃചதʂʂ • ࠓ೥͸ΦϯϥΠϯ։࠵ • ࠓͳΒΞʔϦʔόʔυ2,000ԁʢ͍҆ʂʣ • ϊϕϧςΟ͸༣ૹ • ύϯϑϨοτʹ͸Ԡื͕͋ͬͨݪߘΛܝࡌ •

    9/19(౔) ʙ 9/21(݄ॕ)ɺͥͻ͝ࢀՃΛʂ
  56. • αʔόʔαΠυΤϯδχΞ (PHP, Golang, AWS) • AndroidΤϯδχΞ (Kotlin) • iOSΤϯδχΞ

    (Swift) TimersͰ͸ݱࡏΤϯδχΞશ৬छ࠾༻தʂ ৄ͘͠͸”Timers”Ͱݕࡧ
  57. ͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ