init(data:)
Initializes a PDFDocument object with the passed-in data.
Declaration
init?(data: Data)Return Value
A PDFDocument instance initialized with the passed-in PDF data, or NULL if the object could not be initialized.
Discussion
The data must be PDF data encapsulated in an NSData object; otherwise this method returns NULL.