• 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
Document-based application and "complex" save
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Document-based application and "complex" save


  • Subject: Document-based application and "complex" save
  • From: Rustam Muginov <email@hidden>
  • Date: Wed, 15 Oct 2003 17:58:10 +0400

Hello all.
I would like to hear other developers opinion on the following task.

I have a document-based application, which is using some complex file
structures. Imagine some object description stored in the text-based files,
which could include other text files using relative paths.
As I am opening the document, I could read the object description, and
"dive" into the include statements to get additional data.
Then my application process the data, and could change some information,
possibly even in the included files. As I need to save the document, I am
facing the problem of writing several text files, the "main" object
description and possibly some included files.

I have overwritten the writeToFile:ofType: method, and it seems like Cocoa
first asking me to save the file to some temporary folder.
If I would save the included files here, would Cocoa transfer them to the
original position?
If no, are where any other ways to solve my problem?
Thank in advance.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Document-based application and "complex" save
      • From: Jim Correia <email@hidden>
    • Re: Document-based application and "complex" save
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: cocoa-dev digest, Vol 2 #3018 - 18 msgs
  • Next by Date: NSTableView corrupts the last column
  • Previous by thread: Re: cocoa-dev digest, Vol 2 #3018 - 18 msgs
  • Next by thread: Re: Document-based application and "complex" save
  • Index(es):
    • Date
    • Thread