• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Save as and Open conditional code samples? tutorials?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Save as and Open conditional code samples? tutorials? (From: John Joyce <email@hidden>)

  • Prev by Date: Weird crash in sendEvent - right click vs control click
  • Next by Date: Re: Weird crash in sendEvent - right click vs control click
  • Previous by thread: Save as and Open conditional code samples? tutorials?
  • Next by thread: Weird crash in sendEvent - right click vs control click
  • Index(es):
    • Date
    • Thread