<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.11.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMenu/menuZone()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMenu(cm)menuZone"
  },
  "title" : "menuZone()"
}
-->

# menuZone()

Returns the zone from which `NSMenu` objects should be allocated.

```
class func menuZone() -> NSZone!
```

## Return Value

The zone from which `NSMenu` objects should be allocated.

## Discussion

This is left in for compatibility and always returns <doc://com.apple.documentation/documentation/Foundation/NSDefaultMallocZone>. It is not necessary to use this.

---

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)