Type Alias


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


typealias CFArrayCopyDescriptionCallBack = (UnsafeRawPointer?) -> Unmanaged<CFString>?



The value to be described.

Return Value

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


This callback is passed to CFArrayCreate(_:_:_:_:) in a CFArrayCallBacks structure. This callback is used by the CFCopyDescription(_:) function.

See Also


typealias CFArrayApplierFunction

Prototype of a callback function that may be applied to every value in an array.

typealias CFArrayEqualCallBack

Prototype of a callback function used to determine if two values in an array are equal.

typealias CFArrayReleaseCallBack

Prototype of a callback function used to release a value before it’s removed from an array.

typealias CFArrayRetainCallBack

Prototype of a callback function used to retain a value being added to an array.

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