---
title: CFSetCopyDescriptionCallBack
framework: corefoundation
role: symbol
role_heading: Type Alias
path: corefoundation/cfsetcopydescriptioncallback
---

# CFSetCopyDescriptionCallBack

Prototype of a callback function used to get a description of a value in a set.

## Declaration

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

## Parameters

- `value`: The value to be described.

## Return Value

Return Value A textual description of value. The caller is responsible for releasing this object.

## Discussion

Discussion This callback is passed to CFSetCreate(_:_:_:_:) in a CFSetCallBacks structure. This callback is used by the CFCopyDescription(_:) function.

## See Also

### Callbacks

- [CFSetApplierFunction](corefoundation/cfsetapplierfunction.md)
- [CFSetEqualCallBack](corefoundation/cfsetequalcallback.md)
- [CFSetHashCallBack](corefoundation/cfsethashcallback.md)
- [CFSetReleaseCallBack](corefoundation/cfsetreleasecallback.md)
- [CFSetRetainCallBack](corefoundation/cfsetretaincallback.md)
