On Mar 2, 2013, at 12:16 PM, Steve Mills <smi...@makemusic.com> 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 (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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com