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

# kCFTypeDictionaryValueCallBacks

Predefined [`CFDictionaryValueCallBacks`](/documentation/CoreFoundation/CFDictionaryValueCallBacks) structure containing a set of callbacks appropriate for use when the values in a CFDictionary are all CFType-derived objects.

```
let kCFTypeDictionaryValueCallBacks: CFDictionaryValueCallBacks
```

## Discussion

The retain callback is `CFRetain`, the release callback is `CFRelease`, the copy callback is `CFCopyDescription`, and the equal callback is `CFEqual`. Therefore, if you use a pointer to this constant when creating the dictionary, values are automatically retained when added to the collection, and released when removed from the collection.

---

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)