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
Reproで画像つきプッシュを実装した話
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
akatsuki174
July 18, 2017
Programming
1.3k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Reproで画像つきプッシュを実装した話
2017/07/15 SWWDC × AKIBA.swift in Sendai
akatsuki174
July 18, 2017
More Decks by akatsuki174
See All by akatsuki174
逆向きUIの世界 〜iOSアプリのRTL言語対応〜
akatsuki174
1
670
逆向きUIの世界〜AndroidアプリのRTL言語対応〜
akatsuki174
1
1.1k
私が変えてきたこと、変えなかったこと
akatsuki174
2
1.1k
最近読んでいる本-読書シェア会vol.1
akatsuki174
2
290
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
160
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
6.3k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
520
オフライン勉強会ぼっち対策
akatsuki174
1
730
Xcode 15の新機能
akatsuki174
0
2.9k
Other Decks in Programming
See All in Programming
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
140
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
770
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
1.1k
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
2
520
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
360
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
610
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
120
ローカルLLMでどこまでコードが書けるか -縮小版 / How much code can be written on a local LLM Shortened
kishida
2
190
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
180
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
370
act1-costs.pdf
sumedhbala
0
230
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
130
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
530
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
870
Java REST API Framework Comparison - PWX 2021
mraible
34
9.5k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
360
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.4k
We Have a Design System, Now What?
morganepeng
55
8.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
sira's awesome portfolio website redesign presentation
elsirapls
0
300
How to make the Groovebox
asonas
2
2.3k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
390
Transcript
ReproͰը૾͖ͭϓογϡΛ ࣮ͨ͠ @akatsuki174
ࣗݾհ • ਢ౻ຘ • ΦΠγοΫευοτେגࣜձࣾॴଐ • iOSΤϯδχΞ • Twitter, Qiita,
SlideShare, Github, SpeakerDeck →akatsuki174
None
ɾը૾͖ͭϓογϡ෮श ɾ࣮Πϝʔδ ɾ࣮ํ๏ ɾϋϚͬͨ͜ͱɺҙ ɾޮՌݕূͷ݁Ռ ͓ॻ͖
ը૾͖ͭϓογϡ෮श
• iOS10͔Β༻Մೳ • iOS9ͰจݴͷΈͷϓογϡʹͳΔ • ௨ৗͷϓογϡ௨ʹը૾͕͚ΒΕΔ
࣮Πϝʔδ
None
࣮ํ๏
• project.pbxproj • notification_service/Info.plist • notification_service/ NotificationService.swift ͜Ε͚ͩɻ มߋͨ͠ϑΝΠϧ܈
• File -> New -> Target… Extensionͷ࡞
• iOS -> Notification Service Extension Extensionͷ࡞
• Product Nameͷೖྗ Extensionͷ࡞
• ActivateΛΫϦοΫ Extensionͷ࡞
• ৽͍͠Extensionͷ Extensionͷ࡞
• ͜ͷϝιου͕ϙΠϯτ NotificationΛड͚औͬͨΒݺΕΔ ௨෦࣮
• ҟৗܥճආ ௨෦࣮
• ҟৗܥճආ ௨෦࣮
• ը૾μϯϩʔυͱઃఆ ௨෦࣮
Reproଆͷઃఆ
Reproଆͷઃఆ
Reproଆͷઃఆ
ϋϚͬͨ͜ͱɺҙ
• ݱɿԿճϓογϡͯ͠didRecieve ʹೖͬͯ͜ͳ͍ • ղܾࡦɿҰɺExtensionΛબ্ͨ͠ ͰRun͢Δ ϓογϡ͕ಧ͔ͳ͍ʁʁ
• ϓογϡΛԡͯ͠͠ը૾Λ֦େͯ͠ݟ ΔਓͦΜͳ͍ͳ͍ʢਪఆʣ • →খͯ͘͞Θ͔Γ͍͢ը૾ͷઃఆ͕ ඞཁ • →ҰԠ֦େදࣔ͞Εͨ࣌ͷͨΊʹղ૾ ҙ ը૾ઃఆͷ·͠͞
• λΠϜΞτʹΑΓը૾͕දࣔͰ͖ͳ ͍Մೳੑ͋Δ • ͦ͏͡Όͯ͘iOS9Ͱදࣔ͞Εͳ͍ • →ը૾͕ͳͯ͘௨͡ΔΑ͏ͳϓογϡ จݴʹ͢Δඞཁ͕͋Δ ը૾͕දࣔͰ͖ͳ͔ͬͨ࣌ͷ ͜ͱΛߟ͑Δ
ޮՌݕূͷ݁Ռ
• ސ٬IDͷඌ͕ۮ/حͰA/B࣮ݧΛ ࣮ࢪ • ը૾͋Γͷํ͕Θ͔ͣʹ։෧͕ߴ͍ ఔ • ։෧Έͳ͠։෧(ϓογϡޙ 1࣌ؒҎʹΞϓϦىಈ)ͷ1/10ఔ ൺֱ࣮ݧ
• ޮՌ͋Γͦ͏͕ͩܶతͳͷͰͳ͍ • ͨͩ͠ը૾ͷબఆ͕ѱ͔͔ͬͨʁͳͲ ͕͋ΔͷͰҾ͖ଓ͖ݕূ ߟ
ऴΘΓ