In my subclassing PDFDocument adventures I wanted to add a method to my subclass like so:

- (CGPDFDocumentRef)documentRef;

I realized that it was overriding an internal PDFDocument method that I was unaware of. This actually helps a big performance bottleneck in the application because I can use it instead of creating my own docRef from scratch each time. What I'm not sure about though is how safe I am using this in my application since it might break on future OS updates. I'm planning on filing an enhancement request since it is useful to be able to get a CGPDFDocumentRef directly from a PDFDocument object. How safe am I using this method in my application?


Namasté,

Kevin_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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