<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSScrubber/makeItem(withIdentifier:owner:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScrubber(im)makeItemWithIdentifier:owner:"
  },
  "title" : "makeItem(withIdentifier:owner:)"
}
-->

# makeItem(withIdentifier:owner:)

Creates or returns a reusable item object with the specified identifier.

```
func makeItem(withIdentifier itemIdentifier: NSUserInterfaceItemIdentifier, owner: Any?) -> NSScrubberItemView?
```

## Parameters

`itemIdentifier`

The string that identifies the type of item you want. This is the identifier you specified when registering the item view. The parameter must not be `nil`.

`owner`

The owner of this item. If the scrubber item is loaded from a nib then this object is set as the nib’s File’s Owner object. Set this parameter to `nil` for scrubber items loaded from classes.

## Return Value

A valid [`NSScrubberItemView`](/documentation/AppKit/NSScrubberItemView) object.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)