• 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: Documents not opening from Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documents not opening from Finder


  • Subject: Re: Documents not opening from Finder
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 02 Mar 2013 13:06:04 -0800

On Mar 2, 2013, at 12:16 PM, Steve Mills <email@hidden> wrote:

> Perhaps the problem is that my printDocumentWithSettings:showPrintPanel:delegate:didPrintSelector:contextInfo method doesn't call the selector when we're finished printing. I don't understand how to call the delegate with that selector and can't find any examples of this. Any pointers? Code samples?

The documentation is pretty clear about how NSDocument's default implementation works. -[NSDocument runModalPrintOperation:delegate:didPrintSelector:context:] is what actually messages the delegate with the didPrintSelector. As long as you are calling that method with those arguments (either directly or by calling super in your override of -printDocumentWithSettings…), the delegate will be messaged appropriately.

--Kyle Sluder
_______________________________________________

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: Documents not opening from Finder
      • From: "Mills, Steve" <email@hidden>
References: 
 >Re: Documents not opening from Finder (From: Steve Mills <email@hidden>)
 >Re: Documents not opening from Finder (From: Quincey Morris <email@hidden>)
 >Re: Documents not opening from Finder (From: Steve Mills <email@hidden>)
 >Re: Documents not opening from Finder (From: Quincey Morris <email@hidden>)
 >Re: Documents not opening from Finder (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Documents not opening from Finder
  • Next by Date: Re: Documents not opening from Finder
  • Previous by thread: Re: Documents not opening from Finder
  • Next by thread: Re: Documents not opening from Finder
  • Index(es):
    • Date
    • Thread