Re: why does print block in Lion?
Re: why does print block in Lion?
- Subject: Re: why does print block in Lion?
- From: Graham Cox <email@hidden>
- Date: Sun, 18 Sep 2011 15:32:02 +1000
On 18/09/2011, at 2:04 AM, Gerriet M. Denkmann wrote:
> printShowingPrintPanel: is deprecated since 10.4 (but for some reason Xcode failed to tell me this) but it still works in 10.6 and it MUST call runModalPrintOperation..., otherwise there will be no printPanel.
I ran into the identical issue a few weeks back - you can probably dig up that thread in the archive. Moving away from the deprecated method and using the "modern" approach works fine.
The reason that Xcode doesn't warn you (I wondered the exact same thing) is that it can only flag USAGE of a deprecated method, not an override of one. It would be nice if a way to make such a warning function could be found by the compiler team in future.
--Graham
_______________________________________________
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