Re: Documents not opening from Finder
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