---
title: NSZoneName
framework: foundation
role: symbol
role_heading: Function
path: foundation/nszonename
---

# NSZoneName

Returns the name of the specified zone.

## Declaration

```occ
extern NSString *NSZoneName(NSZone *zone);
```

## Return Value

Return Value A string containing the name associated with zone. If zone is nil, the default zone is used. If no name is associated with zone, the returned string is empty.

## See Also

### Managing Zones

- [NSCreateZone](foundation/nscreatezone.md)
- [NSRecycleZone](foundation/nsrecyclezone.md)
- [NSSetZoneName](foundation/nssetzonename.md)
- [NSZoneCalloc](foundation/nszonecalloc.md)
- [NSZoneFree](foundation/nszonefree.md)
- [NSZoneFromPointer](foundation/nszonefrompointer.md)
- [NSZoneMalloc](foundation/nszonemalloc.md)
- [NSZoneRealloc](foundation/nszonerealloc.md)
- [NSDefaultMallocZone](foundation/nsdefaultmalloczone.md)
