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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Endoze
August 07, 2014
Technology
0
38
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
60
Developing With Docker
endoze
0
160
chef_presentation.pdf
endoze
0
160
Other Decks in Technology
See All in Technology
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
370
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.7k
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
110
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
配列に見る bash と zsh の違い
kazzpapa3
1
140
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
20260204_Midosuji_Tech
takuyay0ne
1
150
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
150
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
170
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
KATA
mclloyd
PRO
34
15k
The Cult of Friendly URLs
andyhume
79
6.8k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
Exploring anti-patterns in Rails
aemeredith
2
250
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
180
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
90
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
210
Discover your Explorer Soul
emna__ayadi
2
1.1k
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