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
Chris Eidhof | @chriseidhof
May 19, 2014
Technology
4
190
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
380
Tiny Networking in Swift
chriseidhof
2
19k
Functional Swift - Brooklyn
chriseidhof
3
1.2k
Functional Swift - SF
chriseidhof
6
26k
Functional Swift
chriseidhof
6
1.2k
Functional Swift
chriseidhof
1
140
Functional Programming in Swift
chriseidhof
40
19k
Parsing with Blocks
chriseidhof
2
220
Practical Concurrent Programming
chriseidhof
4
270
Other Decks in Technology
See All in Technology
バックエンドエンジニアのためのフロントエンド入門 #devsumiC
panda_program
16
6.5k
High Performance PHP
cmuench
0
140
エンジニアのためのドキュメント力基礎講座〜構造化思考から始めよう〜(2025/02/15jbug広島#15発表資料)
yasuoyasuo
15
5.5k
「海外登壇」という 選択肢を与えるために 〜Gophers EX
logica0419
0
500
個人開発から公式機能へ: PlaywrightとRailsをつなげた3年の軌跡
yusukeiwaki
10
2.7k
Ask! NIKKEI RAG検索技術の深層
hotchpotch
13
2.8k
Kubernetes x k6 で負荷試験基盤を開発して 負荷試験を民主化した話 / Kubernetes x k6
sansan_randd
2
730
WAF に頼りすぎない AWS WAF 運用術 meguro sec #1
izzii
0
460
All you need to know about InnoDB Primary Keys
lefred
0
120
Googleマップ/Earthが一般化した 地図タイルのイマ
mapconcierge4agu
1
200
リアルタイム分析データベースで実現する SQLベースのオブザーバビリティ
mikimatsumoto
0
950
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
1.5k
Featured
See All Featured
Writing Fast Ruby
sferik
628
61k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
How to Ace a Technical Interview
jacobian
276
23k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
4 Signs Your Business is Dying
shpigford
182
22k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
310
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
630
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