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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
akatsuki174
July 18, 2017
Programming
1.2k
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
590
逆向きUIの世界〜AndroidアプリのRTL言語対応〜
akatsuki174
1
1k
私が変えてきたこと、変えなかったこと
akatsuki174
2
1k
最近読んでいる本-読書シェア会vol.1
akatsuki174
2
260
SwiftUI、UIKitでキャプチャを撮ろう!
akatsuki174
1
140
Appleにおけるプライバシーの全容を把握する
akatsuki174
0
6.2k
近年のAppleにおける位置情報とプライバシー
akatsuki174
3
510
オフライン勉強会ぼっち対策
akatsuki174
1
710
Xcode 15の新機能
akatsuki174
0
2.9k
Other Decks in Programming
See All in Programming
Swift Concurrency Type System
inamiy
0
530
10 Tips of AWS ~Gen AI on AWS~
licux
5
410
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
4
950
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
5k
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
おれのAgentic Coding 2026/03
tsukasagr
1
150
AI-DLC Deep Dive
yuukiyo
9
4.2k
The Less-Told Story of Socket Timeouts
coe401_
3
300
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
970
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
3
280
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
290
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
23
13k
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
69
39k
Navigating Weather and Climate Data
rabernat
0
170
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
220
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
350
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Side Projects
sachag
455
43k
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ఔ ൺֱ࣮ݧ
• ޮՌ͋Γͦ͏͕ͩܶతͳͷͰͳ͍ • ͨͩ͠ը૾ͷબఆ͕ѱ͔͔ͬͨʁͳͲ ͕͋ΔͷͰҾ͖ଓ͖ݕূ ߟ
ऴΘΓ