John:

Check this out:
http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Articles/MultiDocument.html#/ /apple_ref/doc/uid/TP40003382

Hope that helps. The developer documentation is your friend :)

Omar Qazi
Hello, Galaxy!
1.310.294.1593

On May 13, 2008, at 8:56 PM, John Joyce wrote:

Does anybody have any code samples or tutorials on opening/saving documents with conditional handling for different file types? Conceptually, handling the content is not a problem. The thing I'm not sure about is how to hook up a document-based app to handle additional file types but with the preferred native document type. My app's documents are little more than an array of strings, where each string is a sub document. The thing I want to do is export all as a single text file or as individual text files, and likewise import a text file with simple string symbols as separators (basically like a CSV file).
Handling the text and doing things with it is easy.
I just don't know what sort of design patterns exist for handling additional file types.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to