Creates and returns a layout attributes object for an inter-item gap view at the specified index path.
- macOS 10.11+
The index path at which to insert the gap view. The gap is placed after the item specified by the index path. This parameter must contain a valid value.
A new layout attributes object configured with the initial attributes for the inter-item gap view.
Call this method when you need to create a layout attributes object for an inter-item gap view in a collection view. Gap views are used during drag and drop to indicate the area where content will drop. This method uses the parameters to set the initial values of the
index property of the returned object. The
represented property is set to