---
title: kCFTypeDictionaryValueCallBacks
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcftypedictionaryvaluecallbacks
---

# kCFTypeDictionaryValueCallBacks

Predefined CFDictionaryValueCallBacks structure containing a set of callbacks appropriate for use when the values in a CFDictionary are all CFType-derived objects.

## Declaration

```swift
let kCFTypeDictionaryValueCallBacks: CFDictionaryValueCallBacks
```

## Discussion

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.

## See Also

### Constants

- [kCFCopyStringDictionaryKeyCallBacks](corefoundation/kcfcopystringdictionarykeycallbacks.md)
- [kCFTypeDictionaryKeyCallBacks](corefoundation/kcftypedictionarykeycallbacks.md)
