Re: Save as and Open conditional code samples? tutorials?
Re: Save as and Open conditional code samples? tutorials?
- Subject: Re: Save as and Open conditional code samples? tutorials?
- From: Omar Qazi <email@hidden>
- Date: Tue, 13 May 2008 21:24:20 -0700
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 (email@hidden)
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:
This email sent to email@hidden