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
710
最近読んでいる本-読書シェア会vol.1
akatsuki174
2
190
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
87
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
5.7k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
450
オフライン勉強会ぼっち対策
akatsuki174
1
650
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
「App Intent」よくわからんけどすごい!
rinngo0302
1
110
レトロゲームから学ぶ通信技術の歴史
kimkim0106
0
110
顧客の画像データをテラバイト単位で配信する 画像サーバを WebP にした際に起こった課題と その対応策 ~継続的な取り組みを添えて~
takutakahashi
4
1.3k
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
140
Advanced Micro Frontends: Multi Version/ Framework Scenarios @WAD 2025, Berlin
manfredsteyer
PRO
0
400
NEWT Backend Evolution
xpromx
1
140
MCPを使ってイベントソーシングのAIコーディングを効率化する / Streamlining Event Sourcing AI Coding with MCP
tomohisa
0
170
テスト駆動Kaggle
isax1015
1
630
ソフトウェア設計とAI技術の活用
masuda220
PRO
17
3.9k
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
0
260
Hack Claude Code with Claude Code
choplin
7
2.6k
React は次の10年を生き残れるか:3つのトレンドから考える
oukayuka
15
4.6k
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
We Have a Design System, Now What?
morganepeng
53
7.7k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
Visualization
eitanlees
146
16k
The Cult of Friendly URLs
andyhume
79
6.5k
The Invisible Side of Design
smashingmag
301
51k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
GitHub's CSS Performance
jonrohan
1031
460k
Into the Great Unknown - MozCon
thekraken
40
1.9k
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ఔ ൺֱ࣮ݧ
• ޮՌ͋Γͦ͏͕ͩܶతͳͷͰͳ͍ • ͨͩ͠ը૾ͷબఆ͕ѱ͔͔ͬͨʁͳͲ ͕͋ΔͷͰҾ͖ଓ͖ݕূ ߟ
ऴΘΓ