Type Alias


Performs custom processing on a key-value pair from a PDF dictionary, using optional contextual information.


typealias CGPDFDictionaryApplierFunction = (UnsafePointer<Int8>, CGPDFObjectRef, UnsafeMutableRawPointer?) -> Void



The current key in the dictionary.


The value in the dictionary associated with the key.


The contextual information that your provided in the info parameter in CGPDFDictionaryApplyFunction(_:_:_:).


CGPDFDictionaryApplierFunction defines the callback for CGPDFDictionaryApplyFunction(_:_:_:), that enumerates all of the entries in the dictionary, calling your custom applier function once for each entry. The current key, its associated value, and the contextual information are passed to your applier function using the key, value, and info parameters respectively.

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