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 @ 09:49 AM BST
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 ?