• 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
Re: Re-open last saved document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re-open last saved document


  • Subject: Re: Re-open last saved document
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 26 Aug 2002 14:50:00 +0200

Am Montag, 26.08.02 um 10:52 Uhr schrieb Beat Koch:

how do I know that the user just saved a document? And where can I get the file name (or whatever information is needed to successfully re-open a document) of that document?

You can get the file name from NSDocument's fileName method.

I could not find an appropriate notification, so you'll probably have to subclass NSDocument and overwrite writeToFile:ofType: to find out when a document is saved.


bye. Andreas.
_______________________________________________
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: Re: where are the faster compilations?
  • Next by Date: leek in componentsSeparatedByString
  • Previous by thread: Re-open last saved document
  • Next by thread: leek in componentsSeparatedByString
  • Index(es):
    • Date
    • Thread