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
0
37
Skinny View Controllers
Presentation covering how to make your iOS view controller code simpler and leaner.
Endoze
August 07, 2014
Tweet
Share
More Decks by Endoze
See All by Endoze
How to Code Like a Hacker
endoze
0
58
Developing With Docker
endoze
0
150
chef_presentation.pdf
endoze
0
150
Other Decks in Technology
See All in Technology
OPENLOGI Company Profile
hr01
0
67k
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
230
AWS Organizations 新機能!マルチパーティ承認の紹介
yhana
1
210
ひとり情シスなCTOがLLMと始めるオペレーション最適化 / CTO's LLM-Powered Ops
yamitzky
0
460
AI専用のリンターを作る #yumemi_patch
bengo4com
1
160
LangSmith×Webhook連携で実現するプロンプトドリブンCI/CD
sergicalsix
1
140
Tech-Verse 2025 Global CTO Session
lycorptech_jp
PRO
0
1k
CI/CD/IaC 久々に0から環境を作ったらこうなりました
kaz29
1
200
開発生産性を組織全体の「生産性」へ! 部門間連携の壁を越える実践的ステップ
sudo5in5k
0
170
Oracle Audit Vault and Database Firewall 20 概要
oracle4engineer
PRO
3
1.7k
Yamla: Rustでつくるリアルタイム性を追求した機械学習基盤 / Yamla: A Rust-Based Machine Learning Platform Pursuing Real-Time Capabilities
lycorptech_jp
PRO
4
160
2025-06-26 GitHub CopilotとAI駆動開発:実践と導入のリアル
fl_kawachi
1
210
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
331
24k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Done Done
chrislema
184
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Building Applications with DynamoDB
mza
95
6.5k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Six Lessons from altMBA
skipperchong
28
3.9k
Docker and Python
trallard
44
3.4k
Documentation Writing (for coders)
carmenintech
72
4.9k
It's Worth the Effort
3n
185
28k
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