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
How I struggle with SiriKit.
Search
Tachibana Kaoru
June 19, 2017
Technology
2
1.9k
How I struggle with SiriKit.
Tachibana Kaoru
June 19, 2017
Tweet
Share
More Decks by Tachibana Kaoru
See All by Tachibana Kaoru
GeoLocationAnchor and MKTileOverlay
toyship
0
300
Custom Group Activities
toyship
3
1.3k
Synchronized iPhones, Again!
toyship
2
1.4k
ARKit4.pdf
toyship
1
2.1k
Custom Gesture Recognizer on iOS
toyship
3
1.3k
HEVC Video with Alpha Channel
toyship
1
1.1k
RealityKit & Reality Composer
toyship
3
520
ARKit3
toyship
4
7.1k
UIViewPropertyAnimator and Easing
toyship
2
970
Other Decks in Technology
See All in Technology
GoogleのAIエージェント論 Authors: Julia Wiesinger, Patrick Marlow and Vladimir Vuskovic
customercloud
PRO
0
150
[IBM TechXchange Dojo]Watson Discoveryとwatsonx.aiでRAGを実現!座学①
siyuanzh09
0
110
I could be Wrong!! - Learning from Agile Experts
kawaguti
PRO
8
3.4k
.NET 最新アップデート ~ AI とクラウド時代のアプリモダナイゼーション
chack411
0
200
【NGK2025S】動物園(PINTO_model_zoo)に遊びに行こう
kazuhitotakahashi
0
240
駆け出しリーダーとしての第一歩〜開発チームとの新しい関わり方〜 / Beginning Journey as Team Leader
kaonavi
0
120
EMConf JP の楽しみ方 / How to enjoy EMConf JP
pauli
2
150
生成AI × 旅行 LLMを活用した旅行プラン生成・チャットボット
kominet_ava
0
160
AIアプリケーション開発でAzure AI Searchを使いこなすためには
isidaitc
0
110
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
450
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
140
Oracle Exadata Database Service(Dedicated Infrastructure):サービス概要のご紹介
oracle4engineer
PRO
0
12k
Featured
See All Featured
Being A Developer After 40
akosma
89
590k
Designing Experiences People Love
moore
139
23k
Documentation Writing (for coders)
carmenintech
67
4.5k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Typedesign – Prime Four
hannesfritz
40
2.5k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Rails Girls Zürich Keynote
gr2m
94
13k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
For a Future-Friendly Web
brad_frost
176
9.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Gamification - CAS2011
davidbonilla
80
5.1k
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ͰϝϞΛͱͬͨΓͰ͖ΔΑ͏ʹͳΓ·ͨ͠ɻ • ରԠ͢ΔͳΒ͕Μ͍ͬͯͩ͘͞Ͷʂ •
۪ஒͳΒ͖͖·͢ʂ