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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Endoze
August 07, 2014
Technology
41
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
63
Developing With Docker
endoze
0
170
chef_presentation.pdf
endoze
0
170
Other Decks in Technology
See All in Technology
食べログのサーキットブレーカー導入を振り返って
atpons
1
150
プラットフォームエンジニア ワークショップ/ platform-workshop
databricksjapan
0
120
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
4
1.8k
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
230
イベントで大活躍する電子ペーパー名札 〜その3〜 / ビジュアルプログラミングIoTLT vol.23
you
PRO
0
160
はじめてのDatadog
kairim0
0
210
シンデレラなんかになりたくない!ガラスの靴が割れた時代にどう歩く?
nomizone
0
220
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
320
『家族アルバム みてね』における インシデント対応との向き合い方 / Approach incident response in Family Album
kohbis
2
250
Claude Codeですべての日常業務を爆速化しよう!
minorun365
PRO
16
15k
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
2
150
Cloud Run のアップデート 触ってみる&紹介
gre212
0
220
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
How to Talk to Developers About Accessibility
jct
2
210
Marketing to machines
jonoalderson
1
5.3k
A designer walks into a library…
pauljervisheath
211
24k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
580
The Cost Of JavaScript in 2023
addyosmani
55
10k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
390
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