---
title: "init(identifier:splitView:dividerIndex:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nstrackingseparatortoolbaritem/init(identifier:splitview:dividerindex:)"
---

# init(identifier:splitView:dividerIndex:)

Creates a new tracking separator toolbar item and configures it to align with the divider of the split view.

## Declaration

```swift
convenience init(identifier: NSToolbarItem.Identifier, splitView: NSSplitView, dividerIndex: Int)
```

## Parameters

- `identifier`: The identifier of the toolbar item.
- `splitView`: The split view to align with the tracking separator.
- `dividerIndex`: The index of the divider in the split view.
