<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSNextHashEnumeratorItem(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@F@NSNextHashEnumeratorItem"
  },
  "title" : "NSNextHashEnumeratorItem(_:)"
}
-->

# NSNextHashEnumeratorItem(_:)

Returns the next hash-table element in the enumeration.

```
func NSNextHashEnumeratorItem(_ enumerator: UnsafeMutablePointer<NSHashEnumerator>) -> UnsafeMutableRawPointer?
```

## Return Value

The next element in the table that `enumerator` is associated with, or `NULL` if `enumerator` has already iterated over all the elements.

## See Also

[`NSEnumerateHashTable`](/documentation/Foundation/NSEnumerateHashTable(_:))

Creates an enumerator for the specified hash table.



---

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)