Contents

layoutAttributesClass

The class to use when creating layout attributes objects.

Declaration

class var layoutAttributesClass: AnyClass { get }

Return Value

The class to use for layout attributes objects.

Discussion

If you subclass UICollectionViewLayoutAttributes in order to manage additional layout attributes, you should override this method and return your custom subclass. The methods for creating layout attributes use this class when creating new layout attributes objects.

This method is intended for subclassers only and does not need to be called by your code.

See Also

Providing layout attributes