Tuesday, September 14 2004 @ 06:26 PM UTC
Contributed by: witness
In the Info.plist file, you can set up a CFBundleTypeRole for each document type, which can be either "Viewer" or "Editor". This entry describes how you can use these in Cocoa to allow importing/exporting various kinds of files, as well as implement template files ("stationeries") without having to write much code.
Sunday, June 27 2004 @ 08:49 AM UTC
Contributed by: cocoa
I am trying to communicate with a command line tool launched as a NSTask from my Cocoa application but I run into various difficulties to get the prompts and other outputs of the tool and to supply user input correctly.
Is there a solution ?