• 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: why does print block in Lion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: why does print block in Lion? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: why does print block in Lion? (From: Michael Babin <email@hidden>)
 >Re: why does print block in Lion? (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: How to do Save As... in Lion
  • Next by Date: Re: How to do Save As... in Lion
  • Previous by thread: Re: why does print block in Lion?
  • Next by thread: How to do Save As... in Lion
  • Index(es):
    • Date
    • Thread