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
42
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.4k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
400
オフライン勉強会ぼっち対策
akatsuki174
1
580
Xcode 15の新機能
akatsuki174
0
2.6k
AndroidにもSelect Photosがやってきた
akatsuki174
0
1.2k
Famm Android改善記
akatsuki174
0
340
Flutterアプリ開発にネイティブコードはどこまで求められるのか
akatsuki174
2
4.5k
UIKitのアップデート #WWDC22
akatsuki174
4
1.3k
Other Decks in Programming
See All in Programming
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
770
Symfony Mapper Component
soyuka
2
730
Criando Commits Incríveis no Git
marcelgsantos
2
170
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
110
たのしいparse.y
ydah
3
120
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
160
プロダクトの品質に コミットする / Commit to Product Quality
pekepek
2
770
Recoilを剥がしている話
kirik
5
6.6k
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
120
Beyond ORM
77web
3
380
talk-with-local-llm-with-web-streams-api
kbaba1001
0
180
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
Music & Morning Musume
bryan
46
6.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Speed Design
sergeychernyshev
25
670
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
It's Worth the Effort
3n
183
28k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Site-Speed That Sticks
csswizardry
2
190
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
How to train your dragon (web standard)
notwaldorf
88
5.7k
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”Ͱݕࡧ
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ