---
title: minimumInteritemSpacing
framework: AppKit
role: symbol
role_heading: Instance Property
platforms: [macOS 10.11+]
path: appkit/nscollectionviewflowlayout/1402872-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

If the delegate does not implement the [collectionView(_:layout:minimumInteritemSpacingForSectionAt:)](../nscollectionviewdelegateflowlayout/collectionview(_:layout:minimuminteritemspacingforsectionat:).md) method, the flow layout object uses the value of this property to set the spacing between items in the same line.

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, as illustrated in [Figure 1](1402872-minimuminteritemspacing.md).

![]()

The default value of this property is `10.0`.

## See Also

### Configuring the Item Spacing

- [minimumLineSpacing](minimumlinespacing.md)
- [estimatedItemSize](estimateditemsize.md)
- [itemSize](itemsize.md)
- [sectionInset](sectioninset.md)
