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
Lighter View Controllers
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Chris Eidhof | @chriseidhof
May 19, 2014
Technology
4
210
Lighter View Controllers
CocoaHeads Stockholm. Made with Deckset.
Chris Eidhof | @chriseidhof
May 19, 2014
Tweet
Share
More Decks by Chris Eidhof | @chriseidhof
See All by Chris Eidhof | @chriseidhof
Dutch FP Day 2015
chriseidhof
2
390
Tiny Networking in Swift
chriseidhof
2
19k
Functional Swift - Brooklyn
chriseidhof
3
1.3k
Functional Swift - SF
chriseidhof
6
26k
Functional Swift
chriseidhof
6
1.3k
Functional Swift
chriseidhof
1
160
Functional Programming in Swift
chriseidhof
40
19k
Parsing with Blocks
chriseidhof
2
240
Practical Concurrent Programming
chriseidhof
4
290
Other Decks in Technology
See All in Technology
SRE NEXT 2026 CfP レビュアーが語る聞きたくなるプロポーザルとは?
yutakawasaki0911
0
230
プロジェクトマネジメントをチームに宿す -ゼロからはじめるチームプロジェクトマネジメントは活動1年未満のチームの教科書です- / 20260304 Shigeki Morizane
shift_evolve
PRO
1
250
OCHaCafe S11 #2 コンテナ時代の次の一手:Wasm 最前線
oracle4engineer
PRO
1
100
[JAWSDAYS2026][D8]その起票、愛が足りてますか?AWSサポートを味方につける、技術的「ラブレター」の書き方
hirosys_
3
120
タスク管理も1on1も、もう「管理」じゃない ― KiroとBedrock AgentCoreで変わった"判断の仕事"
yusukeshimizu
5
2.5k
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
13
4.2k
20260311 技術SWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
290
[JAWS DAYS 2026]私の AWS DevOps Agent 推しポイント
furuton
0
140
Security Diaries of an Open Source IAM
ahus1
0
210
8万デプロイ
iwamot
PRO
2
230
開発組織の課題解決を加速するための権限委譲 -する側、される側としての向き合い方-
daitasu
5
580
PMBOK第8版は第7版から何が変わったのか(PMBOK第8版概要解説) / 20260304 Takeshi Watarai
shift_evolve
PRO
0
200
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
Writing Fast Ruby
sferik
630
63k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
So, you think you're a good person
axbom
PRO
2
1.9k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
140
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
150
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
390
Scaling GitHub
holman
464
140k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
200
Transcript
Hej
Jag ❤ Sverige
Jag ❤ Fika
---: MVC
Model = Model
View = View
categories
split up
share
UITableView datasource
None
Configuring the cell Photo *photo = [self photoAtIndexPath:indexPath]; cell.textLabel.text =
photo.name; cell.detailTextLabel.text = photo.user;
subclass? Hello
category! @interface UITableViewCell (CBEConfigureForPhoto) - (void)configureForPhoto:(Photo *)photo; @end
None
CoreDataController : NSObject <UITableViewDataSource>
other protocols
UITableViewController
None
Child View Controllers
None
View Controller Transitions
None
ultra light View Controllers
Interface Builder
Intentions
None
The only method - (void)viewDidLoad { [super viewDidLoad]; self.modelContainer.model =
self.photo; }
None
None
Eh...
More things » AppCode » MVVM » ReactiveCocoa » Find
files by size
tack!
References » https://github.com/chriseidhof/photolist » http://chris.eidhof.nl/posts/intentions.html » http://bendyworks.com/geekville/articles/2014/2/ single-responsibility-principle-ios » http://www.objc.io/issue-1/
None
None
@chriseidhof