I have a Cocoa doent-based application in which I use separate
subclasses of a single parent subclass to implement read and save
operations for different types of file. I would like to be able,
after reading in a doent from one file type, to write it out to a
file of another type.
I gather I could do this by overriding saveDoentAs in my superclass
and using an auxiliary view to provide a popup menu with the possible
save types - then creating a copy of the doent with the appropriate
doent subclass and using its write method.
This seems ...