Skip to Main Content
iOS UICollectionView: The Complete Guide, Second Edition
book

iOS UICollectionView: The Complete Guide, Second Edition

by Ash Furrow
February 2014
Intermediate to advanced content levelIntermediate to advanced
191 pages
4h 13m
English
Addison-Wesley Professional
Content preview from iOS UICollectionView: The Complete Guide, Second Edition

2. Displaying Content Using UICollectionView

Now that you understand how collection views fit within an iOS app using the Model-View-Control (MVC) paradigm, it’s time to get to the good stuff: code. This chapter starts off easy and shows how you can use storyboards or .xibs to set up collection views, and then it shows you how to set them up in code. Collection views extend their UIScrollView superclass, so the chapter takes a brief detour to show how to use that to your advantage with UIScrollViewDelegate. You begin customizing actual content to show to your users using cell reuse before finishing off with a case study on performance.

Setting Up Using Code and Storyboards

Traditionally, .xib files were used to lay out interface code for OS ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

iOS UICollectionView: The Complete Guide

iOS UICollectionView: The Complete Guide

Ash Furrow

Publisher Resources

ISBN: 9780133762631