---
title: "CFCopyTypeIDDescription(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcopytypeiddescription(_:)"
---

# CFCopyTypeIDDescription(_:)

Returns a textual description of a Core Foundation type, as identified by its type ID, which can be used when debugging.

## Declaration

```swift
func CFCopyTypeIDDescription(_ type_id: CFTypeID) -> CFString!
```

## Parameters

- `type_id`: An integer of type doc://com.apple.corefoundation/documentation/CoreFoundation/CFTypeID that uniquely identifies a Core Foundation opaque type.

## Return Value

Return Value A string containing a type description. Ownership follows the The Create Rule.

## Discussion

Discussion You can use this function for debugging Core Foundation objects in your code. Note, however, that the description for a given object may be different in different releases of the operating system. Do not  create dependencies in your code on the content or format of the information returned by this function.

## See Also

### Miscellaneous Functions

- [CFCopyDescription(_:)](corefoundation/cfcopydescription(_:).md)
- [CFGetTypeID(_:)](corefoundation/cfgettypeid(_:).md)
- [CFShow(_:)](corefoundation/cfshow(_:).md)
