Hi,

I have a simple question about my non-document-based app. It's a computer simulation of a physical system, and I've implemented file saving and loading to save the state of the system. Works great except for one thing. If I double-click one of the save files in the Finder, my app launches, but in the default state---the data in the save file isn't loaded. I think I have all the methods needed to make things work (e.g. there's a method hooked up to the "Open..." menu item), but I don't know how to hook things up so that my method will get called when I double-click a file.

I'm thinking that this is something that's handled by NSDocumentController in a document-based app. My question is, how do I implement this in a non-document-based app?

Thanks.

Chris Goedde

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to