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
テスト駆動で会社アプリと個人アプリを開発してみて思ったこと
Search
shindyu
October 02, 2017
Programming
0
670
テスト駆動で会社アプリと個人アプリを開発してみて思ったこと
#orecon_ios #lt
shindyu
October 02, 2017
Tweet
Share
More Decks by shindyu
See All by shindyu
Embedded frameworkを利用して既存プロジェクトでも爆速でTDD
shindyu
2
890
DI-antiPattern.pdf
shindyu
0
69
Other Decks in Programming
See All in Programming
Goのmultiple errorsについて (2024年4月版)
syumai
3
670
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
0
890
見た目から始める生産性向上
ikumatadokoro
7
830
Git Rebase
bkuhlmann
11
1.6k
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
Ruby GitHub Packages
bkuhlmann
0
630
Ruby Function Composition
bkuhlmann
1
330
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
180
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
960
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
370
VS Code をプロダクトにどう取り込むか
onomax
1
360
2 週間で Twitter Bot を作ってみた
contour_gara
0
360
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
BBQ
matthewcrist
80
8.8k
Clear Off the Table
cherdarchuk
84
310k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
Happy Clients
brianwarren
92
6.4k
Optimising Largest Contentful Paint
csswizardry
8
2.4k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
Designing with Data
zakiwarfel
96
4.8k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Transcript
ςετۦಈͰձࣾΞϓϦͱ ݸਓΞϓϦΛ։ൃͯ͠Έͯࢥͬͨ͜ͱ Yoshitaka Shindo (@shindyu) 2017.10.02 Զίϯ
ࣗݾհ ৽ಊ ܟོɹ@shindyu Ϡϑʔגࣜձࣾ ϠϑΦΫ! iOSΞϓϦ։ൃ XPɾTDDେ͖ͬࢠ
ۀͰͷTDD ςετΛલఏͱ͠ͳ͍࣮ FatViewController, ෳࡶոحͳ༷… ςετͷཻ͕όϥόϥ ݸਓͷख़࿅, ίϐϖ…
ݸਓ։ൃͰͷTDD ςετΛલఏͱ࣮ͨ͠ DI, ؆ܿͳ༷ ςετͷཻҰఆ
࣮ફͯ͠ಘΒΕͨ͜ͱ UIKitͷཧղ ΛΓ͚Δҙࣝ
ྫʮϘλϯΛλοϓ͢Δͱ ɹɹɹɹɹɹϥϕϧͷจݴ͕มΘΔʯ
ྫʮϘλϯΛλοϓ͢Δͱ ɹɹɹɹɹɹΞϥʔτ͕දࣔ͞ΕΔʯ
ྫʮΞϥʔτ্ͷϘλϯΛλοϓ͢Δͱ ɹɹɹɹɹɹɹɹϥϕϧͷจݴ͕มΘΔʯ UIAlertController্ͷબࢶ UIControlΛܧঝ͍ͯ͠ͳ͍ͷͰsendActionsͰ͖ͳ͍ ࠓ·Ͱͱಉ͡Α͏ʹςετͰ͖ͳ͍
ςετͰ͖ͳ͍ ςετྖҬ͕͍ ྫʮΞϥʔτ্ͷϘλϯΛλοϓ͢Δͱ ɹɹɹɹɹɹɹɹϥϕϧͷจݴ͕มΘΔʯ
ΞϥʔτͷϘλϯΛબ͢Δͱॲཧ͕࣮ߦ͞ΕΔ(UIKit) + ϥϕϧͷจݴ͕มΘΔ (Self) ͷΓ͚͕ॏཁ ྫʮΞϥʔτ্ͷϘλϯΛλοϓ͢Δͱ ɹɹɹɹɹɹɹɹϥϕϧͷจݴ͕มΘΔʯ
·ͱΊ UIKitͱྑ͘ͳΕΔ ͷΓ͚ʹ׳ΕΔ and more… LET’S TDD!