SWCollectionViewLineLayoutAttributes Class Reference
Inherits from | UICollectionViewLayoutAttributes |
Declared in | SWCollectionViewLineLayoutAttributes.h |
Overview
A subclass of UICollectionViewLayoutAttributes that provides extra support for SWCollectionViewLineLayout
Table 1 Description of side values
Constant | Description |
---|---|
SWCollectionViewLineLayoutAttributeSideLeft |
The item is on the left side of the line |
SWCollectionViewLineLayoutAttributeSideRight |
The item is on the right side of the line |
SWCollectionViewLineLayoutAttributeSideEither |
The item is on one side of the line, as determined by the layout |
SWCollectionViewLineLayoutAttributeSideBoth |
The item spans both sides of the line |