Newbie question about non-document-based app
Newbie question about non-document-based app
- Subject: Newbie question about non-document-based app
- From: Chris Goedde <email@hidden>
- Date: Mon, 4 May 2009 17:36:48 -0500
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@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