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
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
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.4k
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
Digitization部 紹介資料
sansan33
PRO
1
6.8k
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.9k
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
300
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
180
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
910
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
170
Cosmos World Foundation Model Platform for Physical AI
takmin
0
880
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
30 Presentation Tips
portentint
PRO
1
220
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Unsuck your backbone
ammeep
671
58k
ラッコキーワード サービス紹介資料
rakko
1
2.3M
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
Facilitating Awesome Meetings
lara
57
6.8k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
65
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
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