• 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
Save as and Open conditional code samples? tutorials?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Save as and Open conditional code samples? tutorials?


  • Subject: Save as and Open conditional code samples? tutorials?
  • From: John Joyce <email@hidden>
  • Date: Tue, 13 May 2008 22:56:41 -0500

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.


thanks in advance
John Joyce
_______________________________________________

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


  • Follow-Ups:
    • Re: Save as and Open conditional code samples? tutorials?
      • From: Omar Qazi <email@hidden>
  • Prev by Date: Re: Fullscreen on secondary displays
  • Next by Date: Re: Create NSStrings from a mapped NSData object - safe?
  • Previous by thread: Re: openURL is not applied to POST-argument of local html file in leopard.
  • Next by thread: Re: Save as and Open conditional code samples? tutorials?
  • Index(es):
    • Date
    • Thread