Returns the layout attributes for the item at the specified index path.
- macOS 10.11+
The index path of the item whose attributes are requested.
A layout attributes object containing the layout information to apply to the item.
Subclasses must override this method. In your implementation, create an instance of the appropriate layout attributes class and fill the resulting object with the layout information for the specified item. The default implementation of this method does nothing and returns
You can also call this method from other layout-related methods when you want to retrieve layout information for items. Call this method only for items. Do not call it to retrieve layout attributes for supplementary views or decoration views.