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.3k
1
Share
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
600
逆向きUIの世界〜AndroidアプリのRTL言語対応〜
akatsuki174
1
1.1k
私が変えてきたこと、変えなかったこと
akatsuki174
2
1k
最近読んでいる本-読書シェア会vol.1
akatsuki174
2
270
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
140
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
6.2k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
520
オフライン勉強会ぼっち対策
akatsuki174
1
710
Xcode 15の新機能
akatsuki174
0
2.9k
Other Decks in Programming
See All in Programming
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
680
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.8k
tRPCの概要と少しだけパフォーマンス
misoton665
2
270
From Formal Specification to Property Based Test
ohbarye
0
2.4k
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
150
AI Agent と正しく分析するための環境作り
yoshyum
1
220
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
380
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
350
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
350
t *testing.T は どこからやってくるの?
otakakot
1
920
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
380
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
The Curse of the Amulet
leimatthew05
1
12k
We Are The Robots
honzajavorek
0
230
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
780
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Building Adaptive Systems
keathley
44
3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
340
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Optimizing for Happiness
mojombo
378
71k
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ఔ ൺֱ࣮ݧ
• ޮՌ͋Γͦ͏͕ͩܶతͳͷͰͳ͍ • ͨͩ͠ը૾ͷબఆ͕ѱ͔͔ͬͨʁͳͲ ͕͋ΔͷͰҾ͖ଓ͖ݕূ ߟ
ऴΘΓ