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
200
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
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.4k
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
230
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
280
Webhook best practices for rock solid and resilient deployments
glaforge
1
290
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
230
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
270
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
640
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
270
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Marketing to machines
jonoalderson
1
4.6k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
4 Signs Your Business is Dying
shpigford
187
22k
WENDY [Excerpt]
tessaabrams
9
36k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
420
Optimizing for Happiness
mojombo
379
71k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Agile that works and the tools we love
rasmusluckow
331
21k
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