Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
Transcript
22 slides
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!
More Decks by Ash Furrow
See All by Ash Furrow
My Slow Return to a Swift Career
ashfurrow
0
47
Migrating to React Native: A Long-Term Retrospective
ashfurrow
0
380
How Artsy Automates Team Culture
ashfurrow
0
3.5k
Building Custom TSLint Rules
ashfurrow
0
550
Circumventing Fear of the Unknown
ashfurrow
1
640
Building Better Software by Building Better Teams
ashfurrow
1
750
Building Open Source Communities
ashfurrow
0
1.1k
Comparative Asynchronous Programming
ashfurrow
2
9.9k
Building Compassionate Software
ashfurrow
0
640
Other Decks in Technology
See All in Technology
20261113_AWS Organizations運用を下支えするCFn StackSetsの柔軟性
dkduppf
0
120
エンタープライズ事業未経験のデータ屋、 AI時代にN回撃沈する.pdf
ryoskdara_
0
190
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
130
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
320
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
閉域網でのAPI公開の選択肢全部比較!
takano0131
5
700
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
440
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
コーディングできない僕にBobが舞い降りた
shumpei3
0
200
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
310
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
600
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
56
10k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
690
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
320
ラッコキーワード サービス紹介資料
rakko
5
6M
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
The World Runs on Bad Software
bkeepers
PRO
72
12k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Skip the Path - Find Your Career Trail
mkilby
1
300
4 Signs Your Business is Dying
shpigford
187
23k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k