---
title: "init(forInterItemGapBeforeIndexPath:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nscollectionviewlayoutattributes/init(forinteritemgapbeforeindexpath:)"
---

# init(forInterItemGapBeforeIndexPath:)

## Declaration

```swift
convenience init(forInterItemGapBeforeIndexPath indexPath: IndexPath)
```
