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
Alba: Why, How and What's So Interesting
okuramasafumi
0
200
Azure AI Foundryのご紹介
qt_luigi
1
160
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
200
return文におけるstd::moveについて
onihusube
1
1.4k
DevFest - Serverless 101 with Google Cloud Functions
tunmise
0
140
Flatt Security XSS Challenge 解答・解説
flatt_security
0
720
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
930
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
870
HTML/CSS超絶浅い説明
yuki0329
0
190
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
テストコード書いてみませんか?
onopon
2
330
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
We Have a Design System, Now What?
morganepeng
51
7.3k
A designer walks into a library…
pauljervisheath
205
24k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
Optimising Largest Contentful Paint
csswizardry
33
3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Automating Front-end Workflow
addyosmani
1366
200k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
RailsConf 2023
tenderlove
29
970
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”Ͱݕࡧ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ