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
akatsuki174
July 18, 2017
Programming
1
1.2k
Reproで画像つきプッシュを実装した話
2017/07/15 SWWDC × AKIBA.swift in Sendai
akatsuki174
July 18, 2017
Tweet
Share
More Decks by akatsuki174
See All by akatsuki174
私が変えてきたこと、変えなかったこと
akatsuki174
2
850
最近読んでいる本-読書シェア会vol.1
akatsuki174
2
200
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
95
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.7k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
460
オフライン勉強会ぼっち対策
akatsuki174
1
660
Xcode 15の新機能
akatsuki174
0
2.8k
AndroidにもSelect Photosがやってきた
akatsuki174
0
1.4k
Famm Android改善記
akatsuki174
0
390
Other Decks in Programming
See All in Programming
AI OCR API on Lambdaを Datadogで可視化してみた
nealle
0
220
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
610
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
オープンセミナー2025@広島「君はどこで動かすか?」アンケート結果
satoshi256kbyte
0
220
コンテキストエンジニアリング Cursor編
kinopeee
1
730
rage against annotate_predecessor
junk0612
0
140
UbieのAIパートナーを支えるコンテキストエンジニアリング実践
syucream
2
770
Updates on MLS on Ruby (and maybe more)
sylph01
1
160
私の後悔をAWS DMSで解決した話
hiramax
4
170
ワープロって実は計算機で
pepepper
2
1.4k
Understanding Ruby Grammar Through Conflicts
yui_knk
1
180
未来を拓くAI技術〜エージェント開発とAI駆動開発〜
leveragestech
2
190
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
A Tale of Four Properties
chriscoyier
160
23k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
790
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
What's in a price? How to price your products and services
michaelherold
246
12k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
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ఔ ൺֱ࣮ݧ
• ޮՌ͋Γͦ͏͕ͩܶతͳͷͰͳ͍ • ͨͩ͠ը૾ͷબఆ͕ѱ͔͔ͬͨʁͳͲ ͕͋ΔͷͰҾ͖ଓ͖ݕূ ߟ
ऴΘΓ