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
370
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
260
Other Decks in Technology
See All in Technology
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
390
podman_update_2024-12
orimanabu
1
260
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
0
430
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
260
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
520
権威ドキュメントで振り返る2024 #年忘れセキュリティ2024
hirotomotaguchi
2
740
ハイテク休憩
sat
PRO
2
140
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
kargoの魅力について伝える
magisystem0408
0
200
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
430
社外コミュニティで学び社内に活かす共に学ぶプロジェクトの実践/backlogworld2024
nishiuma
0
260
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Thoughts on Productivity
jonyablonski
67
4.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Why Our Code Smells
bkeepers
PRO
335
57k
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