I've got a pretty basic question here about a Cocoa project that I'm working on through XCode. I'm using most of the basic setup/files that were provided to me by the IDE when it set the project up.
The program that I'm making is essentially a glorified frontend, 90% of which is done at this point. The last element I need to do is to capture the filename of the associated file that was double clicked to start the application. I need to be able to pass the full path of the file along to the program I'm starting up with my application.
It seems like this should be pretty simple, but I've been stumped so far. Could anyone lend a hand and let me know the code that could do that (and where it should live)? Thanks!
The program that I'm making is essentially a glorified frontend, 90% of which is done at this point. The last element I need to do is to capture the filename of the associated file that was double clicked to start the application. I need to be able to pass the full path of the file along to the program I'm starting up with my application.
It seems like this should be pretty simple, but I've been stumped so far. Could anyone lend a hand and let me know the code that could do that (and where it should live)? Thanks!