An array structure within a PDF document.
- iOS 2.0+
- macOS 10.3+
- tvOS 9.0+
- watchOS 2.0+
PDF arrays may be heterogeneous—that is, they may contain any other PDF objects, including PDF strings, PDF dictionaries, and other PDF arrays.
CGPDFArray functions to retrieve values from a PDF array take the form:
These functions test the data type of the object at the specified index. If the object is not of the expected type, the function returns
false. If the object is of the expected type, the function returns
true, and the object is passed back in the
This type is not derived from
CFType and therefore there are no functions for retaining and releasing it.
CGPDFArray objects exist only as constituent parts of a
CGPDFDocument object, and they are managed by their container.