• 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
Package saving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Package saving


  • Subject: Package saving
  • From: m <email@hidden>
  • Date: Mon, 26 May 2003 12:38:57 +0100

I have a document that uses NSMovie to display a QuickTime movie. The document is saved as a package (directory with files inside).

When I save my document named "foo.bar", Cocoa renames the existing on-disc representation "foo~.bar", then writes the new version of "foo.bar". After "foo.bar" is successfully written, "foo~.bar" is deleted.

The problem is that my NSMovie still references the movie file in "foo~.bar", which is now gone.

MacApp used to have a method that was called after a save to allow you to update your data structures if necessary. I can't find an analog to this in AppKit.

Am I missing it? Any suggestions?

_murat
_______________________________________________
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.

  • Prev by Date: Geometric computation software
  • Next by Date: main window notification
  • Previous by thread: Re: Geometric computation software
  • Next by thread: main window notification
  • Index(es):
    • Date
    • Thread