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
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
53
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.4k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
410
オフライン勉強会ぼっち対策
akatsuki174
1
590
Xcode 15の新機能
akatsuki174
0
2.6k
AndroidにもSelect Photosがやってきた
akatsuki174
0
1.3k
Famm Android改善記
akatsuki174
0
350
Flutterアプリ開発にネイティブコードはどこまで求められるのか
akatsuki174
2
4.6k
UIKitのアップデート #WWDC22
akatsuki174
4
1.3k
Other Decks in Programming
See All in Programming
선언형 UI에서의 상태관리
l2hyunwoo
0
270
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1.1k
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
盆栽転じて家具となる / Bonsai and Furnitures
aereal
0
1.9k
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
6
1.4k
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
300
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
1.9k
情報漏洩させないための設計
kubotak
5
1.3k
AHC041解説
terryu16
0
390
Flatt Security XSS Challenge 解答・解説
flatt_security
0
730
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
ErdMap: Thinking about a map for Rails applications
makicamel
1
650
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Into the Great Unknown - MozCon
thekraken
34
1.6k
Building Your Own Lightsaber
phodgson
104
6.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
What's in a price? How to price your products and services
michaelherold
244
12k
Docker and Python
trallard
43
3.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
113
50k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
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”Ͱݕࡧ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ