PDFPage init methods not called
PDFPage init methods not called
PDFPage has two declared initialiser methods:
- init
- InitWithImage:(NSImage *)image
When creating a PDFDocument with -initWithURL: neither of the above are called on my PDFPage subclass.
A bit of digging reveals that what is called is the undocumented:
- (id)initWithPageRef:(id)pageRef
This seems peculiar. Will defining an override on -initWithPageRef: count as the use of private API?
I suspect that this is just an oversight in the header.
Jonathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden