Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
App Clipをざっくり把握しよう
Search
akatsuki174
July 01, 2020
Programming
3
1.4k
App Clipをざっくり把握しよう
CA.swift #12 WWDC20報告会
App Clipの動画3本+HIG - App Clipsの内容を詰め込んだスライド
akatsuki174
July 01, 2020
Tweet
Share
More Decks by akatsuki174
See All by akatsuki174
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.3k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
370
オフライン勉強会ぼっち対策
akatsuki174
1
540
Xcode 15の新機能
akatsuki174
0
2.5k
AndroidにもSelect Photosがやってきた
akatsuki174
0
1.1k
Famm Android改善記
akatsuki174
0
330
Flutterアプリ開発にネイティブコードはどこまで求められるのか
akatsuki174
2
4.2k
UIKitのアップデート #WWDC22
akatsuki174
4
1.2k
職能/職種横断でチームの生産性を高める
akatsuki174
2
5.7k
Other Decks in Programming
See All in Programming
『ドメイン駆動設計をはじめよう』中核の業務領域
masuda220
PRO
5
970
Jakarta EE meets AI
ivargrimstad
1
390
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
360
null or undefined
susisu
24
6.2k
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
110
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
370
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
240
エンジニア1年目で複雑なコードの改善に取り組んだ話
mtnmr
3
2k
1人で挑むSwiftコンパイラ 〜型システム入門編〜
s_shimotori
0
340
Rubyとクリエイティブコーディングの輪の広がり / The Growing Circle of Ruby and Creative Coding
chobishiba
1
260
The Sequel to a Dream of Ruby Parser's Grammar
ydah
1
220
仮想ファイルシステムを導入して開発環境のストレージ課題を解消する
segadevtech
2
520
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
21
3k
What's new in Ruby 2.0
geeforr
340
31k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
The Language of Interfaces
destraynor
153
23k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Unsuck your backbone
ammeep
667
57k
We Have a Design System, Now What?
morganepeng
48
7.1k
Mobile First: as difficult as doing things right
swwweet
221
8.8k
Build The Right Thing And Hit Your Dates
maggiecrowley
30
2.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
32k
Transcript
App ClipΛ ͬ͘͟ΓѲ͠Α͏ CA.swift #12 WWDC20ใࠂձ @akatsuki174
ࣗݾհ
None
• ਢ౻ຘʢ@akatsuki174ʣ • iOS→AndroidΤϯδχΞ • גࣜձࣾTimersॴଐ • Ұ൪Θ͘Θͨ͘͠ػೳɿWidget ຊൃද ճ
ΞΠεϒϨΠΫ 5
ࠓͷ
֓ཁ • App Clipͱ • App Clipͷ࡞Γํ • ͓͖͑ͯ͘ϙΠϯτ
͜ͷࢿྉͷݩʹͳͬͨಈը • 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/
͜ͷࢿྉͷݩʹͳͬͨࢿྉ • Human Interface Guidelines - App Clips • https://developer.apple.com/design/
human-interface-guidelines/app-clips/ overview/
ࠓͷࢿྉ
ࠓͷࢿྉ • NDAతʹΊͳͱ͜ΖΛൈ͔ͯ͠Ξοϓࡁ • ͜ͷࢿྉ͔֬ܽଛͳ͠ • TwitterͰྲྀͯ͠·͢
App Clipͱ
App Clipͱ • ΞϓϦΛμϯϩʔυ͠ͳͯ͘ΞϓϦͷɹ Ұ෦ΛମݧͰ͖Δ • NFCλάεϚʔτΞϓϦόφʔ͔Βىಈɹ Ͱ͖Δ
None
None
App ClipΧʔυ
ΞϓϦͷϑϩʔΠϝʔδ
App ClipͷϑϩʔΠϝʔδ
ಋೖϝϦοτ • ΞϓϦͷମݧΛͯ͠Β͏ϋʔυϧ͕Լ͕Δ • ཧతͳϙΠϯτ͔ΒΞϓϩʔνͰ͖Δ • ༰ྔ͕͍ܰʢ10MBҎԼʹ͢Δʣ • ͙͢ʹར༻Ͱ͖Δ
׆༻ྫ • εϜʔδʔΛࣄલจͯ͠ళฮड͚औΓ • NFCλάΛͬͯࣗసंିग़ • ඒज़ؗͰɺ࡞ͷԣʹQRίʔυΛ༻ҙͯ͠ɹ Իղઆ
ىಈํ๏
App Clipίʔυ
App ClipΛ࡞Ζ͏ - ࣮͠Α͏ -
αʔόଆͷ४උ • apple-app-site-associationϑΝΠϧʹ appclips߲ΛՃ͢Δ
App ClipϓϩδΣΫτͷ࡞ • App Clip༻ͷλʔήοτΛՃɺAssociated DomainsʹApp ClipͷυϝΠϯΛՃ
ىಈίʔυʢSwiftUIʣ • NSUserActivity͔ΒwebpageURLΛऔಘ
ىಈίʔυʢUIKitʣ • NSUserActivity͔ΒwebpageURLΛऔಘ
λʔήοτͷՃ • App ClipΛಈ্͔͢Ͱඞཁͳίʔυͱɹɹɹ ΞηοτΛApp ClipλʔήοτʹՃ
App ClipΛ࡞Ζ͏ - URLΛઃఆ͢Δ -
App Store ConnectͰΔ͜ͱ • App Clip Experienceͷઃఆ • σϑΥϧτͷApp ClipΧʔυɺݸʑͷ
ExperienceͷApp ClipΧʔυͷઃఆ • ཧλά͔ΒىಈͰ͖ΔΑ͏ʹ͍ͨ͠ɹ ͳΒʮߴͳઃఆʯΛߦ͏
Default App ClipΧʔυͷઃఆ
App Clip Experienceͷઃఆ
App Clip Experienceͷઃఆ
σόοά͢Δ
ڥมͷઃఆ • _XCAppClipURLΛઃఆ͢ΔͱͦͷURLͰىಈ Ͱ͖Δ
ڥมͷઃఆ εϜʔδʔͷ छྨ Ґஔใ
Q&A
App Clip͚ͩ࡞ͬͯͰ͖Δʁ • • େݩͷΞϓϦඞཁ
ෳͷApp ClipΛઃఆͰ͖Δʁ • • ྫ͑ϨετϥϯΞϓϦͷ߹ɺจ༻ͱɹ ༧༻ͷApp Clip ExperienceΛઃఆͰ͖Δ • melamela.example/order
• melamela.example/reservation
͋Δళฮ͚ͩڍಈΛม͑ΒΕΔʁ • • Ϋύνʔϊళฮʢbrighteggcafe.example/ store/cupertinoʣ͚ͩಛผͳڍಈʹ͢ΔͳΒ ֤ళฮڞ௨ͷbrighteggcafe.example/store/ Λొͭͭ͠ɺΫύνʔϊళฮͷURLొɹ ͓͚ͯ͠ྑ͍
ΞϓϦΛΠϯετʔϧࡁΈͰ App Clip ExperienceΛ౿ΜͩΒʁ • App ClipͰͳ͘ΞϓϦ͕։͘
ϩάΠϯࢧ͍ػೳ͑Δʁ • • Apple Pay, Sign in with Appleͷར༻͕ਪɹ ͞Ε͍ͯΔ
• ϩάΠϯλεΫྃޙʹٻΊΔͷ͕ɹɹɹ ·͍͠
ϓογϡ௨͑Δʁ • • จͨ͠εϜʔδʔ͕ग़དྷ্͕ͬͨͱ͖ɺɹ ύʔΩϯάϝʔλʔͷظݶ͕Εͨͱ͖ͳͲʹ ௨͢ΔͳͲ • ىಈޙ࠷େ8࣌ؒ·ͰεέδϡʔϧͰ͖Δ • 8࣌ؒҎ্ʹͳΔͳΒ໌ࣔతʹڐՄΛٻΊΔ
ΧϝϥͳͲͷڐΞϓϦʹɹ ͨ͠ޙ࠶औΔඞཁ͋Δʁ • • ΧϝϥɺϚΠΫɺBluetoothΞΫηεͳͲͷɹ ೝূใΞϓϦΠϯετʔϧ࣌ʹҾ͖ɹɹ ܧ͕ΕΔ • ※ଞʹҠߦ͍ͨ͠σʔλ͕͋Εɺڞ༗ɹ σʔλίϯςφʹอଘͯ͠ҠߦͰ͖Δ
Ґஔใɺ௨ͷڐ͍ͭ ͷΞϥʔτΛ͏ͷʁ • • Ұఆ݅ԼͳΒApp Clip্ͰTurn On/Offͯ͠ Β͏͜ͱ͕Ͱ͖Δ
App ClipͣͬͱͬͯΔͷʁ • • Ұఆظؒʢ30ͬΆ͍ʣΘΕͳ͍ͱApp Clipͱͦͷσʔλআ͞ΕΔ
όοΫάϥϯυॲཧͰ͖Δʁ • • Βͳ͍Α͏ʹ͠Α͏
TestFlight৴Ͱ͖Δʁ • • App Store ConnectͷTestFlightλϒ͔ΒApp ClipηΫγϣϯΛݟ͚ͭɺʮAdd App Clip InvocationʯΛΫϦοΫ
·ͱΊ
·ͱΊ • App ClipΛಋೖ͢ΔͱΞϓϦΛʮ͓ࢼ͠ମݧʯ ͯ͠Β͑Δ • ίʔυΞϓϦͱڞ༗ͯ͑͠ΔͷͰൺֱతɹ ָʹ४උͰ͖Δ
ຊޠࢿྉ
ݟͯͶ • App Clipͷ֓ཁͱઃఆํ๏ • https://qiita.com/akatsuki174/items/4d564e3c4f1c99cfff19 • App Clipͷઃܭͱߏஙํ๏ •
https://qiita.com/akatsuki174/items/ 0e2e9c731b3c033c2ee8 • ߹ཧతͳApp ClipΛ࡞͢Δ • ໌ެ։Ͱ͖Δͣ 5
ݟͯͶ • HIG - App Clipsͷͬ͘͟Γ༁ • https://twitter.com/akatsuki174/status/ 1276481990313734144 5
એ
iOSDCνέοτൃചதʂʂ • ࠓΦϯϥΠϯ։࠵ • ࠓͳΒΞʔϦʔόʔυ2,000ԁʢ͍҆ʂʣ • ϊϕϧςΟ༣ૹ • ύϯϑϨοτʹԠื͕͋ͬͨݪߘΛܝࡌ •
9/19() ʙ 9/21(݄ॕ)ɺͥͻ͝ࢀՃΛʂ
• αʔόʔαΠυΤϯδχΞ (PHP, Golang, AWS) • AndroidΤϯδχΞ (Kotlin) • iOSΤϯδχΞ
(Swift) TimersͰݱࡏΤϯδχΞશ৬छ࠾༻தʂ ৄ͘͠”Timers”Ͱݕࡧ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ