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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to