• 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
saveDocument and wrapper of wrappers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

saveDocument and wrapper of wrappers


  • Subject: saveDocument and wrapper of wrappers
  • From: Renaud Boisjoly <email@hidden>
  • Date: Mon, 20 Jan 2003 09:33:46 -0500

Hi all!

I'm using a folder of fileWrappers as my document format and I've subclassed NSDocument, NSWindowController and NSDocumentController and all that.

Everything works fine, except that when a user saves an existing document after making some changes, it seems that the original document is actually replaced by a new one. For example, if the document is on the Desktop or if it has a custom icon, when saving, it may move around on the Desktop and its icon will be reset to blank.

I though this might have been because it was saving a backup version, but even if I disable that, the problem persists.

I'm guesing its due to the fact I'm using a directorywrapper of wrappers for some reson and that it has to re-create all of it every time, instead of keeping the old one. Do you think this could be the case?

Thanks

Renaud
_______________________________________________
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: saveDocument and wrapper of wrappers
      • From: Jérôme Laurens <email@hidden>
  • Prev by Date: Re: Autorelease pool questions
  • Next by Date: Re: fluid motion
  • Previous by thread: Re: fluid motion
  • Next by thread: Re: saveDocument and wrapper of wrappers
  • Index(es):
    • Date
    • Thread