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
マルチアカウント管理で必須!AWS Organizationsの機能とユースケース解説
nrinetcom
PRO
1
110
Javaの新しめの機能を知ったかぶれるようになる話 #kanjava
irof
3
5k
モノリスの認知負荷に立ち向かう、コードの所有者という思想と現実
kzkmaeda
0
110
モンテカルロ木探索のパフォーマンスを予測する Kaggleコンペ解説 〜生成AIによる未知のゲーム生成〜
rist
4
1.2k
SpannerとAurora DSQLの同時実行制御の違いに想いを馳せる
masakikato5
0
580
OPENLOGI Company Profile
hr01
0
61k
LINEギフトのLINEミニアプリアクセシビリティ改善事例
lycorptech_jp
PRO
0
310
RAGの基礎から実践運用まで:AWS BedrockとLangfuseで実現する構築・監視・評価
sonoda_mj
0
460
セマンティックレイヤー入門
ikkimiyazaki
10
3.4k
Amazon EKS Auto ModeでKubernetesの運用をシンプルにする
sshota0809
0
130
ひまプロプレゼンツ 「エンジニア格付けチェック 〜春の公開収録スペシャル〜」
kaaaichi
0
170
近年の PyCon 情勢から見た PyCon APAC のまとめ
terapyon
0
190
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
51
2.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
A better future with KSS
kneath
238
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Building Adaptive Systems
keathley
41
2.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
7
620
Mobile First: as difficult as doing things right
swwweet
223
9.5k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Speed Design
sergeychernyshev
28
870
Scaling GitHub
holman
459
140k
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