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


CFStringRef CFCopyTypeIDDescription(CFTypeID type_id);



An integer of type CFTypeID that uniquely identifies a Core Foundation opaque type.

Return Value

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


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


Returns a textual description of a Core Foundation object.


Returns the unique identifier of an opaque type to which a Core Foundation object belongs.


Prints a description of a Core Foundation object to stderr.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software