<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFDictionaryKeyCallBacks/release",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@SA@CFDictionaryKeyCallBacks@FI@release"
  },
  "title" : "release"
}
-->

# release

The callback used to release keys as they are removed from the dictionary. If `NULL`, keys are not released. See [`CFDictionaryReleaseCallBack`](/documentation/CoreFoundation/CFDictionaryReleaseCallBack) for a description of this callback.

```
var release: CFDictionaryReleaseCallBack!
```

---

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)