Awesome UI class ;)UICollectionView
AGENDA• Introduction• „Big picture”• UICollectionView architecture, data model & interaction• FlowLayout - basic tool (but...
Łukasz DomaradzkiSoftware Research Engineer @ Jeppesen Polandcontact: lukasz.domaradzki@gmail.comwww: http://about.me/luka...
„BIG PICTURE”
DOYOU KNOWOTHER APPS?
WHAT EXACTLY IS IT?• UI class, similar to UITableView (not a replacement)• very powerful (customizable)• your UX/graphic d...
ANATOMYCellsSupplementaryViewsDecorationViewsLet’s dig inside.
CELLS• No predefined styles(like in UITableView)• New properties - selection& highlight• New reuse format (improved)[cV reg...
ARCHITECTURE
VIEW (FLOW) LAYOUTCSS for your UICollectionView !UICollectionViewLayout is an abstract base class forpositioning cell view...
WHAT ABOUT IOS BELOW 6.0?• PSTCollectionViewhttps://github.com/steipete/PSTCollectionView100% API replacement, available f...
You know what time it is?LIVE DEMO!
Sources:- WWDC2012- Introducing CollectionViews- Advanced CollectionViews and Building CustomLayouts- NSHipster.com- RayWe...
Questions?Thanks for listening.
2013-02-05 UICollectionView
2013-02-05 UICollectionView
2013-02-05 UICollectionView
Upcoming SlideShare
Loading in …5
×

2013-02-05 UICollectionView

1,018 views

Published on

Published in: Technology, Business
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,018
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
10
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

2013-02-05 UICollectionView

  1. 1. Awesome UI class ;)UICollectionView
  2. 2. AGENDA• Introduction• „Big picture”• UICollectionView architecture, data model & interaction• FlowLayout - basic tool (but powerful)• Live Demo• Questions
  3. 3. Łukasz DomaradzkiSoftware Research Engineer @ Jeppesen Polandcontact: lukasz.domaradzki@gmail.comwww: http://about.me/lukasz.domaradzki
  4. 4. „BIG PICTURE”
  5. 5. DOYOU KNOWOTHER APPS?
  6. 6. WHAT EXACTLY IS IT?• UI class, similar to UITableView (not a replacement)• very powerful (customizable)• your UX/graphic designer will love it ;)• available iOS 6.0+ (not only... more later)O’rly?
  7. 7. ANATOMYCellsSupplementaryViewsDecorationViewsLet’s dig inside.
  8. 8. CELLS• No predefined styles(like in UITableView)• New properties - selection& highlight• New reuse format (improved)[cV registerClass: ...][cV registerNib: ...][cV dequeReusableCell...]UICollectionViewCellBackground ViewSelected BackgroundViewContent View
  9. 9. ARCHITECTURE
  10. 10. VIEW (FLOW) LAYOUTCSS for your UICollectionView !UICollectionViewLayout is an abstract base class forpositioning cell views and their supplementary and decorationviews. But rather than subclass this directly, most applicationswill opt to use or subclass UICollectionViewFlowLayout.Flow layouts cover the broad class of layouts with some notionof linearity, whether thats a single row or column or a grid.nshipster.com
  11. 11. WHAT ABOUT IOS BELOW 6.0?• PSTCollectionViewhttps://github.com/steipete/PSTCollectionView100% API replacement, available from iOS 4.3+
  12. 12. You know what time it is?LIVE DEMO!
  13. 13. Sources:- WWDC2012- Introducing CollectionViews- Advanced CollectionViews and Building CustomLayouts- NSHipster.com- RayWenderlich.com
  14. 14. Questions?Thanks for listening.

×