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
1
230
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
190
How Artsy Automates Team Culture
ashfurrow
0
2.9k
Building Custom TSLint Rules
ashfurrow
0
380
Circumventing Fear of the Unknown
ashfurrow
1
480
Building Better Software by Building Better Teams
ashfurrow
1
520
Building Open Source Communities
ashfurrow
0
790
Comparative Asynchronous Programming
ashfurrow
2
9.2k
Building Compassionate Software
ashfurrow
0
380
Swift, Briskly
ashfurrow
0
110
Other Decks in Technology
See All in Technology
技術負債の「予兆検知」と「状況異変」のススメ / Technology Dept
i35_267
1
1k
Googleマップ/Earthが一般化した 地図タイルのイマ
mapconcierge4agu
1
200
FastConnect の冗長性
ocise
1
9.6k
君はPostScriptなウィンドウシステム 「NeWS」をご存知か?/sunnews
koyhoge
0
720
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
2
240
RSNA2024振り返り
nanachi
0
500
Ask! NIKKEI RAG検索技術の深層
hotchpotch
13
2.8k
Developers Summit 2025 浅野卓也(13-B-7 LegalOn Technologies)
legalontechnologies
PRO
0
150
事業継続を支える自動テストの考え方
tsuemura
0
300
Datadog APM におけるトレース収集の流れ及び Retention Filters のはなし / datadog-apm-trace-retention-filters
k6s4i53rx
0
320
Building Products in the LLM Era
ymatsuwitter
10
4.4k
現場で役立つAPIデザイン
nagix
29
10k
Featured
See All Featured
BBQ
matthewcrist
86
9.5k
The Language of Interfaces
destraynor
156
24k
Music & Morning Musume
bryan
46
6.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Gamification - CAS2011
davidbonilla
80
5.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
310
How STYLIGHT went responsive
nonsquared
98
5.3k
KATA
mclloyd
29
14k
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!