Re: NSImage to PDFPage in Tiger?
Re: NSImage to PDFPage in Tiger?
- Subject: Re: NSImage to PDFPage in Tiger?
- From: Uli Kusterer <email@hidden>
- Date: Wed, 9 Jan 2008 18:44:15 +0100
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...
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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