---
title: "init(rotorType:itemSearchDelegate:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nsaccessibilitycustomrotor/init(rotortype:itemsearchdelegate:)"
---

# init(rotorType:itemSearchDelegate:)

Creates a custom rotor with the specified rotor type and item search delegate.

## Declaration

```swift
init(rotorType: NSAccessibilityCustomRotor.RotorType, itemSearchDelegate: any NSAccessibilityCustomRotorItemSearchDelegate)
```

## See Also

### Creating a Rotor

- [init(label:itemSearchDelegate:)](appkit/nsaccessibilitycustomrotor/init(label:itemsearchdelegate:).md)
