• 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: Letting the Finder know something changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Letting the Finder know something changed?


  • Subject: Re: Letting the Finder know something changed?
  • From: Prachi Gauriar <email@hidden>
  • Date: Sat, 29 Jan 2005 13:39:06 -0500


On Jan 29, 2005, at 1:26 PM, James Bucanek wrote:

I've been searching developer.apple.com for 20 minutes, and I can't find an answer to this stupid question:

When I write/rewrite/update a file in an open window or on the desktop, I'd like to notify the Finder that the files have changed so it can update the display. I swear there was some simple way of doing this, but for the life of me I can't remember what it is, nor can I find an API. Can anyone give me a clue?

NSWorkspace's -noteFileSystemChanged:

- (void)noteFileSystemChanged:(NSString *)path
Informs NSWorkspace that the file system specified by path has changed. NSWorkspace then gets the status of all the files and directories it is interested in and updates itself appropriately. This method is used by many objects that write or delete files.


See Also: – fileSystemChanged

-Prachi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Letting the Finder know something changed? (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Letting the Finder know something changed?
  • Next by Date: Getting text selection?
  • Previous by thread: Re: Letting the Finder know something changed?
  • Next by thread: Re: Letting the Finder know something changed?
  • Index(es):
    • Date
    • Thread