November 2013
Intermediate to advanced
576 pages
19h 3m
English
The flow layout provided in the SDK can be customized to provide a wide variety of grid-based layouts. The flow layout has logic built in to calculate, based on scrolling direction and all the parameters set for cell size, spacing and sections, how many cells should be presented per row, and then how big the scroll view should be. When these parameters are manipulated, collection views can be created that display one cell per row (or even per screen), multiple cells packed tightly together in a row (as in iOS7’s Photos.app), or anything in between. These parameters are illustrated in Figure 20.7.
Figure 20.7 Collection view ...
Read now
Unlock full access