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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
270
How Artsy Automates Team Culture
ashfurrow
0
3.3k
Building Custom TSLint Rules
ashfurrow
0
440
Circumventing Fear of the Unknown
ashfurrow
1
540
Building Better Software by Building Better Teams
ashfurrow
1
600
Building Open Source Communities
ashfurrow
0
900
Comparative Asynchronous Programming
ashfurrow
2
9.6k
Building Compassionate Software
ashfurrow
0
480
Swift, Briskly
ashfurrow
0
160
Other Decks in Technology
See All in Technology
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
340
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
プロポーザルに込める段取り八分
shoheimitani
1
190
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
200
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
170
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
340
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
440
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
420
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
140
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
630
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.7k
A designer walks into a library…
pauljervisheath
210
24k
How to Ace a Technical Interview
jacobian
281
24k
WENDY [Excerpt]
tessaabrams
9
36k
ラッコキーワード サービス紹介資料
rakko
1
2.2M
It's Worth the Effort
3n
188
29k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
51
Utilizing Notion as your number one productivity tool
mfonobong
3
220
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Rails Girls Zürich Keynote
gr2m
96
14k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
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!