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

# CFDictionaryCopyDescriptionCallBack

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

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

## Parameters

`value`

The value to be described.

## Return Value

A text description of `value`.

## Discussion

This callback is passed to [`CFDictionaryCreate(_:_:_:_:_:_:)`](/documentation/CoreFoundation/CFDictionaryCreate(_:_:_:_:_:_:)) in a [`CFDictionaryKeyCallBacks`](/documentation/CoreFoundation/CFDictionaryKeyCallBacks) structure or [`CFDictionaryValueCallBacks`](/documentation/CoreFoundation/CFDictionaryValueCallBacks). This callback is used by the [`CFCopyDescription(_:)`](/documentation/CoreFoundation/CFCopyDescription(_:)) function.

---

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)