On 11 May 2011, at 03:59, Graham Cox wrote:

> Are CGPDFDocument and PDFDocument toll-free bridged? If not, how can I get a 
> PDFDocument from a CGPDFDocumentRef? 

They are not toll-free bridged.

> I need to use the lower level API to extract graphic entities from a PDF, but 
> I'd like to use PDFKit up-front to implement a page chooser.

How about opening the document with PDFKit to start with, and then ask the 
obtained PDFDocument for its documentRef when you need to get submerged. I 
don't think you can go the other way.

The 'documentRef' is in the PDFDocument header file.
- (CGPDFDocumentRef) documentRef;

 I did not find it in the docs. Apple's doc team alerted.

Best,
António

-----------------------------------------------
Touch is a language without words
-----------------------------------------------




_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to