Instance Method

initWithURL:

Initializes a PDFDocument object with the contents at the specified URL (if the URL is invalid, this method returns NULL).

Declaration

- (instancetype)initWithURL:(NSURL *)url;

Return Value

A PDFDocument instance initialized with the data at the passed-in URL or NULL if the object could not be initialized or if the URL is invalid.

See Also

Initializing Documents

- initWithData:

Initializes a PDFDocument object with the passed-in data.

- init

Initializes a PDFDocument object.