---
title: minimumInteritemSpacing
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscollectionviewgridlayout/minimuminteritemspacing
---

# minimumInteritemSpacing

The minimum spacing (in points) to use between items in the same row or column.

## Declaration

```swift
var minimumInteritemSpacing: CGFloat { get set }
```

## Discussion

Discussion For a vertically scrolling layout, the value represents the minimum spacing between items in the same row. For a horizontally scrolling layout, the value represents the minimum spacing between items in the same column. The layout object uses this spacing only to compute how many items can fit in a single row or column. The actual spacing may be increased after the number of items has been determined. The default value of this property is 0.0.

## See Also

### Specifying the Grid Layout Attributes

- [minimumLineSpacing](appkit/nscollectionviewgridlayout/minimumlinespacing.md)
- [margins](appkit/nscollectionviewgridlayout/margins.md)
