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
UICollectionView
Search
Ash Furrow
December 21, 2013
Technology
240
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
UICollectionView
Talk I did for TACOW on the basics of UICollectionView.
Ash Furrow
December 21, 2013
More Decks by Ash Furrow
See All by Ash Furrow
Migrating to React Native: A Long-Term Retrospective
ashfurrow
0
310
How Artsy Automates Team Culture
ashfurrow
0
3.4k
Building Custom TSLint Rules
ashfurrow
0
490
Circumventing Fear of the Unknown
ashfurrow
1
590
Building Better Software by Building Better Teams
ashfurrow
1
670
Building Open Source Communities
ashfurrow
0
980
Comparative Asynchronous Programming
ashfurrow
2
9.7k
Building Compassionate Software
ashfurrow
0
540
Swift, Briskly
ashfurrow
0
200
Other Decks in Technology
See All in Technology
やさしいA2A入門
minorun365
PRO
12
1.9k
アンオフィシャルな、オフィシャルからのお願い
wyamazak_devrel
0
120
データサイエンスを価値につなげるプロジェクト設計 〜 DS一年目が現場で得た気づき 〜
ysd113
1
260
2026 TECHFRESH 畢業分享會 - 開發日常大解密!從領域驅動到企業級上線
line_developers_tw
PRO
0
1.1k
2026年6月23日 Syncable Tech + Start Python Club にて
hamukazu
0
120
自律型AIエージェントは何を破壊するのか
kojira
0
160
Snowflakeと仲良くなる第一歩
coco_se
4
490
中期計画、2回作ってみた ~業務委託と正社員、両方の視点から~
demaecan
1
910
「エンジニア進化論」2028年の開発完全自動化、エンジニアはどう進化するか
cyberagentdevelopers
PRO
6
5.3k
2026TECHFRESH畢業分享會 - 葬送的通靈師:化系統與用戶雜訊成行動訊號
line_developers_tw
PRO
0
1.1k
Android の公式 Skill / Android skills
yanzm
0
150
AIっぽい文章を採点して人間らしく直すアプリを作ってみた
yama3133
2
200
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
210
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
190
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
390
Code Reviewing Like a Champion
maltzj
528
40k
Technical Leadership for Architectural Decision Making
baasie
3
410
Done Done
chrislema
186
16k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
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!