Fully updated for iOS 7, iOS The Complete Guide, Second Edition will help you build highly immersive, cutting-edge iOS user interfaces that transform your apps from good to great! Ash Furrow covers everything that's new and valuable in UICollectionViews for iOS 7, showing how it eliminates annoying "gotchas" from iOS 6 (and helping you avoid a few new pitfalls). For the first time, he also demonstrates how to integrate UICollectionViews with iOS 7's brand-new UIKit Dynamics to deliver more realistic animations and more effective layouts.
Furrow teaches through a wide spectrum of up-to-date, downloadable code examples. Reflecting the latest UICollectionView best practices, he also offers detailed guidance on application architecture, data retrieval across networks, and efficient content rendering. Coverage
What to know about MVC and the iOS app lifecycle in order to succeed with UICollectionView Using Storyboards or .xibs to set up Collection Views, and implementing them in well-performing code Customizing individual cell layouts, and then contextualizing content for users Efficiently organizing content with UICollectionViewFlowLayout Crafting sophisticated custom layouts with UICollectionViewLayoutSubclassing Animating UICollectionViewLayout changes Building more immersive interfaces with gesture recognizers Making the most of new iOS 7 layout-to-layout transitions And much more informit.com/aw
This book was my first exposure to collection views and I thought it did a great job at both introducing the subject as well as explaining it in depth.
The style is learn by example. The code samples are explained in their details throughout the book (often line by line) and I liked that the author never makes assumptions in these examples. Each one is pretty much self-sufficient.
I thought you are brought up to speed quickly, with one and half intro chapters that go very quickly, and a core chapter that explains all the basics minus custom layouts. So in about a third of this short book I felt like I had enough to start coding.
Roughly 2/3 of the book is about advanced layout techniques (overriding UICollectionViewFlowLayout, creating your own from scratch and doing things like circular layouts, toggling between layouts, etc) as well as adding interactivity (tap, pinch/zoom gestures, etc).
The author knows his stuff and the writing style is pretty terse, which I think is essential in a programming book (hey I got no time to lose).
My only complaint is that the author barely touched on the role of autolayout. A search for "autolayout" returns exactly 4 results; all layout in the examples is manual. It would have been good to at least discuss possible performance implications, especially for collection views with a lot of cells, dynamic cell heights, cells with complex view hierarchy.
This book teaches you almost everything you want to knew about UICollectionView. Very detailed description of how to use UICollectionView with it's tips and tricks. Author likes layout by code (he describes how to use UICollectionView with xibs/Storyboards in Chapter 2 but everything is with code-based layout).