<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSToolbarDelegate/toolbarDidRemoveItem(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSToolbarDelegate(im)toolbarDidRemoveItem:"
  },
  "title" : "toolbarDidRemoveItem(_:)"
}
-->

# toolbarDidRemoveItem(_:)

Tells the delegate that the toolbar removed the specified item.

```
@MainActor optional func toolbarDidRemoveItem(_ notification: Notification)
```

## Parameters

`notification`

A notification named [`didRemoveItemNotification`](/documentation/AppKit/NSToolbar/didRemoveItemNotification).

## Discussion

Use this method to update data structures related to your toolbar items.

---

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)