---
title: menuZone()
framework: appkit
role: symbol
role_heading: Type Method
path: appkit/nsmenu/menuzone()
---

# menuZone()

Returns the zone from which NSMenu objects should be allocated.

## Declaration

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

## Return Value

Return Value The zone from which NSMenu objects should be allocated.

## Discussion

Discussion This is left in for compatibility and always returns NSDefaultMallocZone. It is not necessary to use this.
