Document-based application and "complex" save
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.