On Sep 29, 2010, at 4:32 PM, Sean McBride wrote:

Are you a document-based app?  Have you seen this:?
<http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Documents/Articles/ObjectInteractions.html >

Yes it is document-based app. I have seen this, but not recently. Looks like it would require subclassing NSDocumentController and overriding the 'openDocument:' method.

I put a breakpoint on 'openDocument:' and it is triggered with file>open from the main menu but it is not called when directly opening files from the Finder.

--Richard Somers

_______________________________________________

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