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
Swiftで外部ライブラリを使わないDIの管理方法 / How to manage DI wi...
Search
Takuya Iitsuka
February 05, 2020
Programming
1
2.4k
Swiftで外部ライブラリを使わないDIの管理方法 / How to manage DI without using external library in Swift
Takuya Iitsuka
February 05, 2020
Tweet
Share
Other Decks in Programming
See All in Programming
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
430
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
440
物流システムにおけるリファクタリングとアーキテクチャの再構築 〜依存関係とモジュール分割の重要性〜
deeprain
1
1.2k
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
150
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
170
Criando Commits Incríveis no Git
marcelgsantos
2
160
fs2-io を試してたらバグを見つけて直した話
chencmd
0
130
testcontainers のススメ
sgash708
1
110
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
170
Java 23の概要とJava Web Frameworkの現状 / Java 23 and Java web framework
kishida
2
400
Jakarta EE meets AI
ivargrimstad
0
190
Zoneless Testing
rainerhahnekamp
0
120
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
800
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
How to Think Like a Performance Engineer
csswizardry
21
1.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Making the Leap to Tech Lead
cromwellryan
133
9k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
The Cult of Friendly URLs
andyhume
78
6.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Transcript
4XJGUͰ֎෦ϥΠϒϥϦΛΘͳ͍ %*ͷཧํ๏ ΈͯͶͷ.FFUVQ ൧௩
൧௩ ৽ଔͰϛΫγΟʹೖࣾ ୈҰرͷΈͯͶࣄۀ෦ʹଐ ΞϓϦ։ൃνʔϜͰJ04Λத৺ʹ։ൃ ࣗݾհ
%*ʹ͍ͭͯ 4XJOKFDU ΈͯͶͷ%* ·ͱΊ ࣍
%*ʹ͍ͭͯ
w %FQFOEFODZ*OKFDUJPOʢґଘੑͷೖʣ w ίϯϙʔωϯτؒͷґଘؔΛഉআ͠ɺ֎෦͔Βґ ଘίϯϙʔωϯτΛೖ͢ΔσβΠϯύλʔϯ w ίϯϙʔωϯτ͕ؒૄ݁߹ʹͳΓ։ൃɺςετɺอ क͘͢͠ͳΔ w ඞཁͳͷʢΦϒδΣΫτʣΛ֎͔Β͚ͩ͢
%*ͱ
%*ʹΑΔ .FEJVN7JFX$POUSPMMFS 6TFS3FQPTJUPSZ .FEJVN3FQPTJUPSZ .FEJVN1SFTFOUFS w ྫʣϝσΟΞΛදࣔ͢Δը໘Λ࣮ͨ͠ΦϒδΣΫ τͷґଘؔ ґଘ͍ͯ͠Δʢೖ͢Δ͖ʣΦϒδΣΫτ
%*ʹΑΔ
%*ʹΑΔ ભҠ͍ͤͨ͞ 7JFX$POUSPMMFS
%*ʹΑΔ ඞཁ ґଘؔͷղܾ
w ґଘؔͷղܾΛ·ͱΊͯཧͰ͖Δͱศར %*ʹΑΔ
w αʔυύʔςΟ w 4XJOKFDU $MFBOTF /FFEMF FUD w ࣗલ࣮ w
$BLF1BUUFSO FUDʢΈͯͶͷ%*ʣ %*ཧͷओͳબࢶ
4XJOKFDU
w ґଘؔͷొɺղܾ͕؆୯ʹͰ͖Δ$ 4XJOKFDU
w ґଘؔͷొɺղܾ͕؆୯ʹͰ͖Δ$ 4XJOKFDU ొ͢ΔΦϒδΣΫτͷ ΠϯλʔϑΣʔε
w ґଘؔͷొɺղܾ͕؆୯ʹͰ͖Δ$ 4XJOKFDU ΠϯλʔϑΣʔεͷ ࣮ΦϒδΣΫτ
w ґଘؔͷొɺղܾ͕؆୯ʹͰ͖Δ$ 4XJOKFDU ඞཁͳґଘؔΛղܾ
w ґଘؔͷొɺղܾ͕؆୯ʹͰ͖Δ$ 4XJOKFDU
w ґଘؔͷొɺղܾ͕؆୯ʹͰ͖Δ$ 4XJOKFDU
w ಈతʹґଘؔΛղܾ͢ΔͷͰίϯύΠϧ࣌ʹਖ਼͠ ͕͞ݕূ͞Εͳ͍% w αʔυύʔςΟʹґଘ͢Δ% 4XJOKFDUͷ՝
ΈͯͶͷ%*
ΈͯͶͷ%* w )PHFΠϯλʔϑΣʔεΛ࣋ͭ)PHF*NQMͷΠϯελ ϯεΛऔಘͰ͖Δ)PHF'BDUPSZΛఆٛ͢Δ
ΈͯͶͷ%*
ΈͯͶͷ%* ΠϯλʔϑΣʔεͷܕΛฦ͢ TUBUJDGVODΛఆٛ
ΈͯͶͷ%* ΠϯλʔϑΣʔεͷ ࣮ΦϒδΣΫτΛฦ͢
ΈͯͶͷ%* ඞཁͳґଘؔΛղܾ
ΈͯͶͷ%*
ΈͯͶͷ%*
w ґଘؔͷએݴͱΠϯελϯεͷऔಘ͕؆୯$ w ੩తʹએݴ͍ͯ͠ΔͷͰίϯύΠϧ࣌ʹਖ਼͕͠͞ݕ ূ͞ΕΔ$ w αʔυύʔςΟʹґଘ͠ͳ͍$ w είʔϓͷఆٛɺґଘؔͷղܾΛࣗಈੜ͕Ͱ͖ ͳ͍%
ͳͥ͜ͷํ๏ͳͷ͔
w αʔυύʔςΟʔͷϥΠϒϥϦΛΘͳͯ͘े ࣮༻తͳґଘؔΛղܾ͢ΔΈΛ؆୯ʹ࣮Ͱ ͖Δ w %*ख๏Λબ͢Δͱ͖ʹʮࣗલͰ࣮͢Δʯ͜ͱ ࢹʹೖΕͯΈ͍͔͕ͯͰ͠ΐ͏͔ ·ͱΊ
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠