• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PDFPage init methods not called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDFPage init methods not called


  • Subject: PDFPage init methods not called
  • From: "email@hidden" <email@hidden>
  • Date: Fri, 14 Feb 2014 15:09:47 +0000

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


  • Follow-Ups:
    • Re: PDFPage init methods not called
      • From: Antonio Nunes <email@hidden>
  • Prev by Date: OpenCL Basic Programming Question
  • Next by Date: Re: Display selectd sub-menuItem in NSPopUpButton
  • Previous by thread: Re: OpenCL Basic Programming Question
  • Next by thread: Re: PDFPage init methods not called
  • Index(es):
    • Date
    • Thread