Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How I struggle with SiriKit.
Search
Tachibana Kaoru
June 19, 2017
Technology
2.2k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How I struggle with SiriKit.
Tachibana Kaoru
June 19, 2017
More Decks by Tachibana Kaoru
See All by Tachibana Kaoru
GeoLocationAnchor and MKTileOverlay
toyship
0
420
Custom Group Activities
toyship
3
1.5k
Synchronized iPhones, Again!
toyship
2
1.7k
ARKit4.pdf
toyship
1
2.3k
Custom Gesture Recognizer on iOS
toyship
3
1.5k
HEVC Video with Alpha Channel
toyship
1
1.3k
RealityKit & Reality Composer
toyship
3
700
ARKit3
toyship
4
7.7k
UIViewPropertyAnimator and Easing
toyship
2
1.2k
Other Decks in Technology
See All in Technology
ビジネスを止めない技術的負債の返済のための戦略とその手法 - 技術的負債と向き合う / Complexity and Simplicity
soudai
PRO
3
650
Incremental HTTP
kazuho
5
2.1k
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
360
AI Made Us Faster at Solving the Wrong Problems
marceloancelmo
0
180
BedrockとLambdaで作る リアルタイム進行型推理ゲーム
kawametho
0
190
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
310
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
100
freeeらしさをAIとともに作る / Creating the freee Experience with AI
ymrl
0
210
Futexes the good, the bad, the ugly
ennael
PRO
0
130
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.4k
SDDの運用にめげずに向き合った話
sansantech
PRO
1
130
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Skip the Path - Find Your Career Trail
mkilby
1
240
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
Are puppies a ranking factor?
jonoalderson
2
4k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
350
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Documentation Writing (for coders)
carmenintech
77
5.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Deep Space Network (abreviated)
tonyrice
0
360
Transcript
How I struggle with SiriKit. !5BDIJCBOB,BPSV QPUBUPUJQT
ࣗݾհ • @TachibanaKaoru • ϑϦʔϥϯεiOSΤϯδχΞ • Blog : http://www.toyship.org/
iOSDC 2017 • iOSͱपลٕज़Λࡐͱͨ͠ΧϯϑΝϨϯεͰ͢ɻ • ࠓ 9/15~9/17 ͷࡾؒ։࠵ͱͳΓɺCFP૿͑ ·͢ʂੋඇԠื͍ͯͩ͘͠͞ɻ •
https://iosdc.jp/2017/
SiriKitͱ • Siri͔ΒࣗͷΞϓϦΛ͍ͬͯΖ͍ΖͰ͖Δػೳɻ • ࣗͷΞϓϦͷػೳ͕ͳΜͰ͑ΔΘ͚Ͱͳ͘ɺ ࢦఆ͞Εͨಛఆͷػೳʢϝοηʔδૹ৴ɺλΫγʔΛ ΑͿɺͳͲʣͰ͔͑͠·ͤΜɻ • iOS10Ͱಋೖ͞Ε·ͨ͠ɻ
ͪͳΈʹSiriKitͰάάΔͱ…… • ಉ໊ͷλΠͷԦ൲༷ɺγϦΩοτ͞Μ͕Ͱ͖ͯ·͢ɻ
SiriKitͷத…… • ࣮ɺʮSiriKitʯͱ͍͏໊લͷϑϨʔϜϫʔΫ͋Γ· ͤΜɻ • Intents : SiriKitͷϩδοΫΛ୲͢ΔϑϨʔϜϫʔΫ • Intents
UI : SiriKitͷUIΛ୲͢ΔϑϨʔϜϫʔΫ
SiriKitʹରԠͨ͠ΞϓϦͷߏ Intents UI Extension
ࠓɺSiriKit ͕͍͔ʹͭΒ͍ͷ͔Λ͓ͨ͠͠ ͍ͱࢥ͍·͢ɻ
̍ʣSiriʹͳΜ͔͚ͯ͠Ε͍͍ͷ͔Θ͔Βͳ͍ • Siriʹ͔͚͠Δͱಛఆͷػೳ͕͑ΔΜ͚ͩͲ……ɻ • ͳΜ͔͚͍͍ͯͯ͠ͷ͔Θ͔Βͳ͍ɻ • ʮSiriϝοηʔδૹͬͯʯͰ͍͍ͷʁ • ͏·͘ಈ͍ͨΈ͍͚ͨͩͲ͜ΕͰຊʹେৎ ……ʁ
̍ʣSiriʹͳΜ͔͚ͯ͠Ε͍͍ͷ͔Θ͔Βͳ͍ • ࠷ۙͬͱAppleͷެࣜΨΠμϯε͕ൃද͞Ε·ͨ͠ɻ • https://developer.apple.com/documentation/sirikit/ inrequestrideintent • ֤ࠃޠͰɺͲͷηϦϑͰSiriΛΑͼ͔ͩ֬͢ೝͰ͖· ͢ɻ
̎ʣຊମΞϓϦͱSiriKitͰϓϩηε͕ҟͳΔ • ҟͳΔϓϩηεͷͨΊɺવ on memoryͷใ͕ར༻ Ͱ͖ͳ͍ɻ • ϑΝΠϧΩϟογϡʹཔͬͨΓɺωοτϫʔΫ͔Β ใΛ࠶औಘͨ͠Γͯ͠ɺຊମͱಉ͡ใΛऔಘ͢Δඞ ཁ͕͋Δɻ
̏ʣຊମΞϓϦͱSiriKitͰετϨʔδ͕ҟͳΔɻ • ϑΝΠϧΩϟογϡUserDefaultsͳͲɺϩʔΧϧʹอ ଘ͢Δͷ͕ͦͷ··Ͱผͷͱ͜Ζʹอଘ͞ΕΔɻ • App GroupʢΞϓϦΛԣஅͯ͠ར༻Ͱ͖ΔϩʔΧϧετ ϨʔδʣΛར༻ͯ͠ϑΝΠϧΛڞ༗͢ΔΈʹ࡞Γ ม͑Δඞཁ͕͋Δɻ
̐ʣϩά͕ͱΕͳ͍͜ͱ͕͋Δɻ • ΞϓϦͷϓϩηε͕ͦΕͧΕҟͳΔͨΊΞϓϦͱ Intentsͷσόοάϩάಉ࣌ʹऔಘͰ͖ͳ͍ɻ • ʢ·ͨɺ͓ͦΒ͘ൃల్্ͷͨΊɺىಈλΠϛϯάʹ Αͬͯσόοάϩά͕ͱΕͳ͍͜ͱ͕͋Δʣ • ·ͨɺ௨ৗͷํ๏ͰSiri෦ॲཧσόοάϩάʹද ࣔ͞Εͣɺࣗ͠ͷIntentsͷϩάͱΕͯɺSiriͷ
෦ॲཧͰԿ͕ࣦഊཁҼͳͷ͔Λٻ͠ʹ͍͘ɻ
̐ʣϩά͕ͱΕͳ͍͜ͱ͕͋Δɻ • Apple ͷόάϨϙʔτͰհ͞Ε͍͍ͯΔख๏Λ͏ͱ SiriͷϩάΛͱΔ͜ͱ͕Ͱ͖Δɻ • https://developer.apple.com/bug-reporting/profiles- and-logs/
̑ʣϒϨʔΫϙΠϯτ͕͑ͳ͍ • Siri෦ॲཧʹλΠϜΞτ͕͋ΔͨΊɺͯ͢ͷॲ ཧΛλΠϜΞτʹ͓͞ΊΔඞཁ͕͋Δɻ • ϒϨʔΫϙΠϯτͰఀࢭ͢ΔͱɺඞͣλΠϜΞτʹ ͻ͔͔ͬͬͯ͠·͏ͨΊɺਖ਼ৗͳॲཧͷon memoryͷ ঢ়ଶΛ֬ೝ͢Δ͜ͱ͕Ͱ͖ͳ͍ɻ
̑ʣϒϨʔΫϙΠϯτ͕͑ͳ͍ • WWDC2017ͰɺSiriKit ୲ͷApple Engineerʹฉ͍ͯΈ ·ͨ͠ɻ
̑ʣϒϨʔΫϙΠϯτ͕͑ͳ͍ • SiriKit ୲ͷApple Engineer ᐌ͘ɻ • ʮͨͪࠔͬͯΔΜͩΑͶʂʯ • ʮͦͷ͏ͪͳΜͱ͔Ͱ͖Δ͔……ʯ
• ʢͨͿΜͨͩͷҚΊͩͱࢥ͍·͢ɻʣ
̒ʣϩδοΫͱUIͷϓϩηε͕ҧ͏ • SiriKitͷϩδοΫ෦ͷॲཧIntents ExtensionͰߦ ͍ɺUI෦ͷॲཧIntents UI ExtensionͰߦ͍·͢ɻ • ϓϩηε͕ҧ͏ͨΊɺϩδοΫ෦ͰԿΛͨ͠ͷ͔Λ ʮετϨʔδΛ௨ͯ͠ʯUI෦Ͱऔಘ͢Δ͜ͱʹͳ
Δɻ
̓ʣSiri͕Θ͔ͬͯ͘Εͳ͍ɻ • σόοά͕ଓ͘ͱΓํ͍͍ՃݮʹͳͬͯɺSiri͕ೝ ࣝͯ͘͠Εͳ͍ɻ • Կճಉ͜͡ͱΛҰਓͰ܁Γฦ͢ͷͰɺपғͷ͖ ʹͳΔ……ɻ
̓ʣSiri͕Θ͔ͬͯ͘Εͳ͍ɻ • ࠷ۙɺΞϓϦΛىಈ͢Δͱ͖ʹSiriͷจݴΛΘͨͤΔΑ ͏ʹͳͬͨɻʼ͠ΌΒͳ͍͍ͯ͘ʂ
·ͱΊ • SiriKit ͭΒ͍ɻ৺͕ંΕ·͢ɻ • ͰiOS11ͰɺରԠυϝΠϯʢରԠػೳʣ͕૿͑ɺ SiriKitͰϝϞΛͱͬͨΓͰ͖ΔΑ͏ʹͳΓ·ͨ͠ɻ • ରԠ͢ΔͳΒ͕Μ͍ͬͯͩ͘͞Ͷʂ •
۪ஒͳΒ͖͖·͢ʂ