• 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
Re: NSImage to PDFPage in Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage to PDFPage in Tiger?


  • Subject: Re: NSImage to PDFPage in Tiger?
  • From: Jerry LeVan <email@hidden>
  • Date: Wed, 9 Jan 2008 13:21:58 -0500


On Jan 9, 2008, at 12:44 PM, Uli Kusterer wrote:

On 03.01.2008, at 22:41, John Calhoun wrote:
A workaround for Tiger might be to call the private -[setDocument:] call yourself after adding the page to a document. Something like:

	[someDocument insertPage: originalPage atIndex: i];
	[[someDocument pageAtIndex: i] setDocument: someDocument];

This should have no ill effect on Leopard.


OTOH, you may as well check the system version and only do it on Tiger. That way, you won't have to worry that it may break future versions...

The only Tiger system that I have available is on a PPC G4, the suggested fix did not work
there... ( but did no harm on my Leopard box, except for an undefined value at compile time)


Jerry
_______________________________________________

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: NSImage to PDFPage in Tiger?
      • From: John Calhoun <email@hidden>
References: 
 >Re: NSImage to PDFPage in Tiger? (From: John Calhoun <email@hidden>)
 >Re: NSImage to PDFPage in Tiger? (From: Jerry LeVan <email@hidden>)
 >Re: NSImage to PDFPage in Tiger? (From: John Calhoun <email@hidden>)
 >Re: NSImage to PDFPage in Tiger? (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Are NSStreams or the sockets they use buffered?
  • Next by Date: Re: NSSplitView autoresize only 1 of the 2 custom views
  • Previous by thread: Re: NSImage to PDFPage in Tiger?
  • Next by thread: Re: NSImage to PDFPage in Tiger?
  • Index(es):
    • Date
    • Thread