---
title: CFDictionaryCopyDescriptionCallBack
framework: corefoundation
role: symbol
role_heading: Type Alias
path: corefoundation/cfdictionarycopydescriptioncallback
---

# CFDictionaryCopyDescriptionCallBack

Prototype of a callback function used to get a description of a value or key in a dictionary.

## Declaration

```swift
typealias CFDictionaryCopyDescriptionCallBack = (UnsafeRawPointer?) -> Unmanaged<CFString>?
```

## Parameters

- `value`: The value to be described.

## Return Value

Return Value A text description of value.

## Discussion

Discussion This callback is passed to CFDictionaryCreate(_:_:_:_:_:_:) in a CFDictionaryKeyCallBacks structure or CFDictionaryValueCallBacks. This callback is used by the CFCopyDescription(_:) function.

## See Also

### Callbacks

- [CFDictionaryApplierFunction](corefoundation/cfdictionaryapplierfunction.md)
- [CFDictionaryEqualCallBack](corefoundation/cfdictionaryequalcallback.md)
- [CFDictionaryHashCallBack](corefoundation/cfdictionaryhashcallback.md)
- [CFDictionaryReleaseCallBack](corefoundation/cfdictionaryreleasecallback.md)
- [CFDictionaryRetainCallBack](corefoundation/cfdictionaryretaincallback.md)
