Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
UICollectionView
Search
Ash Furrow
December 21, 2013
Technology
1
240
UICollectionView
Talk I did for TACOW on the basics of UICollectionView.
Ash Furrow
December 21, 2013
Tweet
Share
More Decks by Ash Furrow
See All by Ash Furrow
Migrating to React Native: A Long-Term Retrospective
ashfurrow
0
250
How Artsy Automates Team Culture
ashfurrow
0
3.2k
Building Custom TSLint Rules
ashfurrow
0
430
Circumventing Fear of the Unknown
ashfurrow
1
530
Building Better Software by Building Better Teams
ashfurrow
1
580
Building Open Source Communities
ashfurrow
0
870
Comparative Asynchronous Programming
ashfurrow
2
9.6k
Building Compassionate Software
ashfurrow
0
460
Swift, Briskly
ashfurrow
0
150
Other Decks in Technology
See All in Technology
Fashion×AI「似合う」を届けるためのWEARのAI戦略
zozotech
PRO
2
850
Sansanが実践する Platform EngineeringとSREの協創
sansantech
PRO
2
930
Strands Agents × インタリーブ思考 で変わるAIエージェント設計 / Strands Agents x Interleaved Thinking AI Agents
takanorig
2
160
AI駆動開発における設計思想 認知負荷を下げるフロントエンドアーキテクチャ/ 20251211 Teppei Hanai
shift_evolve
PRO
2
420
Amazon Quick Suite で始める手軽な AI エージェント
shimy
0
210
Python 3.14 Overview
lycorptech_jp
PRO
1
120
生成AI活用の型ハンズオン〜顧客課題起点で設計する7つのステップ
yushin_n
0
240
AWS運用を効率化する!AWS Organizationsを軸にした一元管理の実践/nikkei-tech-talk-202512
nikkei_engineer_recruiting
0
100
品質のための共通認識
kakehashi
PRO
4
360
Oracle Cloud Infrastructure IaaS 新機能アップデート 2025/09 - 2025/11
oracle4engineer
PRO
0
160
AIエージェント開発と活用を加速するワークフロー自動生成への挑戦
shibuiwilliam
4
280
OCI Oracle Database Services新機能アップデート(2025/09-2025/11)
oracle4engineer
PRO
1
210
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Balancing Empowerment & Direction
lara
5
800
4 Signs Your Business is Dying
shpigford
186
22k
The Cost Of JavaScript in 2023
addyosmani
55
9.4k
Navigating Team Friction
lara
191
16k
The Invisible Side of Design
smashingmag
302
51k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
980
Facilitating Awesome Meetings
lara
57
6.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Side Projects
sachag
455
43k
The Cult of Friendly URLs
andyhume
79
6.7k
Transcript
UICollectionView Ash Furrow, Teehan+Lax
None
1.UICollectionView is just like UITableView 2.UICollectionView separates layout from display
3.UICollectionView makes complex layouts easy
UICollectionView is just like UITableView... ! Except a little different.
UITableView • UITableView is one of the mainstays of iOS
• UICollectionView will be one for iOS 7
Dequeuing Cells • UICollectionView works just like newer UITableView APIs
• Register a class for a cell identifier • Later, dequeue a cell of that class for that identifier
Demo
UICollectionViewFlowLayoutDelegate • UICollectionView queries its delegate for info • Used
to layout cells • Just like UITableViewDelegate
Demo
UICollectionView separates concerns. ! Layout, dequeuing, display
UICollectionView Layouts • UICollectionView separates layout from dequeuing logic •
UITableView encapsulates both • Allows us to easily customize layout of cells
Demo
Custom Layout Attributes • We can even define our own
layout attributes
Demo
UICollectionView makes complex layouts easy... ! Or at least possible.
UICollectionViewFlowLayout • Flow layouts provide a lot for you •
Always try customizing them first
UICollectionViewLayout • UICollectionViewLayout is an abstract class • Subclass it
to go Hands On™ • Makes complex layouts easy
Demo
1.UICollectionView is just like UITableView 2.UICollectionView separates layout from display
3.UICollectionView makes complex layouts easy
None
Go buy my book
Ash Furrow @ashfurrow Thanks!