Collection View
Collection View Attributes Inspector Reference

Layout, Scrolling, Header, and Footer
Layout
The layout to use to lay out the collection view content.
Access: collectionViewLayout
Selection |
---|
Flow |
Custom |
Layout: Flow

Scroll Direction
The direction along which the collection view scrolls.
Access: collection_view.collectionViewLayout.scrollDirection
Selection |
Method |
Argument |
---|---|---|
Vertical |
||
Horizontal |
Accessories
Section Header
Whether the collection view has a header.
Access: collection_view.collectionViewLayout.headerReferenceSize
headerReferenceSize
.
Selection |
Code |
---|---|
|
|
|
|
Section Footer
Whether the collection view has a footer.
Access: collection_view.collectionViewLayout.footerReferenceSize
footerReferenceSize
.
Selection |
Code |
---|---|
|
|
|
|
Layout: Custom

Class
The class of the layout to use to lay out the collection view content.
Copyright © 2014 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2013-12-16