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
230
How Artsy Automates Team Culture
ashfurrow
0
3.1k
Building Custom TSLint Rules
ashfurrow
0
420
Circumventing Fear of the Unknown
ashfurrow
1
510
Building Better Software by Building Better Teams
ashfurrow
1
560
Building Open Source Communities
ashfurrow
0
850
Comparative Asynchronous Programming
ashfurrow
2
9.4k
Building Compassionate Software
ashfurrow
0
430
Swift, Briskly
ashfurrow
0
130
Other Decks in Technology
See All in Technology
絶対に失敗できないキャンペーンページの高速かつ安全な開発、WINTICKET × microCMS の開発事例
microcms
0
250
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
30k
浸透しなさいRFC 5322&7208
hinono
0
130
生成AI時代に必要な価値ある意思決定を育てる「開発プロセス定義」を用いた中期戦略
kakehashi
PRO
1
190
DuckDB-Wasmを使って ブラウザ上でRDBMSを動かす
hacusk
1
130
LLMエージェント時代に適応した開発フロー
hiragram
1
460
実践AIガバナンス
asei
3
210
認知戦の理解と、市民としての対抗策
hogehuga
0
410
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
13
3.4k
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
3
1.5k
【 LLMエンジニアがヒューマノイド開発に挑んでみた 】 - 第104回 Machine Learning 15minutes! Hybrid
soneo1127
0
180
実践アプリケーション設計 ①データモデルとドメインモデル
recruitengineers
PRO
5
1.2k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
790
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Building an army of robots
kneath
306
46k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Rails Girls Zürich Keynote
gr2m
95
14k
Become a Pro
speakerdeck
PRO
29
5.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Bash Introduction
62gerente
614
210k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
How GitHub (no longer) Works
holman
315
140k
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!