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
Skinny View Controllers
Search
Endoze
August 07, 2014
Technology
40
0
Share
Skinny View Controllers
Presentation covering how to make your iOS view controller code simpler and leaner.
Endoze
August 07, 2014
More Decks by Endoze
See All by Endoze
How to Code Like a Hacker
endoze
0
62
Developing With Docker
endoze
0
160
chef_presentation.pdf
endoze
0
170
Other Decks in Technology
See All in Technology
ブラウザの投機的読み込みと投機ルールAPIを理解し、Webサービスのパフォーマンスを最適化する
shuta13
3
280
拝啓、あの夏の僕へ〜あなたも知っているApp Runnerの世界〜
news_it_enj
0
210
毎日の作業を Claude Code 経由にしたら、 ノウハウがコードになった
kossykinto
0
220
Fabric MCPの紹介と使い分け
ryomaru0825
1
120
カオナビに Suspenseを導入するまで / The Road to Suspense at kaonavi
kaonavi
1
410
AIと乗り切った1,500ページ超のヘルプサイト基盤刷新とさらにその先の話
mugi_uno
2
300
Scovilleモバイルエンジニア募集中.pdf
julienrudin
0
150
ファインディの事業拡大を支える 拡張可能なデータ基盤へのリアーキテクチャ
hiracky16
0
860
小さいVue.jsを30分で作る
hal_spidernight
0
140
データ定義の混乱と戦う 〜 管理会計と財務会計 〜
wonohe
0
240
20260513_生成AIを専属DSに_AI分析結果の検品テクニック_ハンズオン_交通事故データ
doradora09
PRO
0
180
Angular Architecture Revisited Modernizing Angular Architectural Patterns
rainerhahnekamp
0
130
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
140
We Have a Design System, Now What?
morganepeng
55
8.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
390
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
500
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
200
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
The Invisible Side of Design
smashingmag
302
52k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
230
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
290
4 Signs Your Business is Dying
shpigford
187
22k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Transcript
SKINNY VIEW CONTROLLERS BY CHRIS STEPHAN Skinny View Controller View
Controller
And the trick is…
None
But Seriously… Every app has controllers Controllers are commonly the
largest files in any project Controllers are the hardest objects to reuse
To the Code
Our Goal View Controllers containing ideally less than 150-200 lines
Simple methods made up of 5-10 lines More Objects
Game Plan Simplify controller methods Add model for quotes Move
api call to new quote object Abstract UITableViewDataSource Abstract configuring of UITableViewCell
Back to the Code
Questions?
Links https://speakerdeck.com/endoze/skinny-view- controllers https://github.com/endoze/SkinnyViewControllers