<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSetShowsServicesMenuItem(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@F@NSSetShowsServicesMenuItem"
  },
  "title" : "NSSetShowsServicesMenuItem(_:_:)"
}
-->

# NSSetShowsServicesMenuItem(_:_:)

Specifies whether an item should be included in Services menus.

```
func NSSetShowsServicesMenuItem(_ itemName: String, _ enabled: Bool) -> Int
```

## Discussion

Deprecated. This function simply returns 0.

---

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)