---
title: "fixed(_:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/nscollectionlayoutspacing/fixed(_:)"
---

# fixed(_:)

Creates a space equivalent to the specified number of points.

## Declaration

```swift
class func fixed(_ fixedSpacing: CGFloat) -> Self
```

## See Also

### Creating spacing

- [flexible(_:)](uikit/nscollectionlayoutspacing/flexible(_:).md)
