Contents

layoutAttributesClass

Returns the class to use for layout attribute objects

Declaration

class var layoutAttributesClass: AnyClass { get }

Return Value

The class to use for layout attribute objects.

Discussion

Override this method if you define a custom NSCollectionViewLayoutAttributes subclass for managing layout-related attributes. In your implementation, return the class object for your custom subclass.

You can call this method as needed to create new layout objects. A typical usage of this method is as follows:

See Also

Providing Layout Information