---
title: "init(frame:zIndex:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nscollectionlayoutgroupcustomitem/init(frame:zindex:)"
---

# init(frame:zIndex:)

Creates a custom item with the specified frame and vertical stacking order in relation to other items in the group.

## Declaration

```swift
convenience init(frame: NSRect, zIndex: Int)
```

## See Also

### Creating a custom item

- [init(frame:)](appkit/nscollectionlayoutgroupcustomitem/init(frame:).md)
