• 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: How to "touch" a folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to "touch" a folder?


  • Subject: Re: How to "touch" a folder?
  • From: David Martin <email@hidden>
  • Date: Thu, 16 Jan 2003 07:10:01 +0100

On Thursday, Jan 16, 2003, at 06:48 Europe/Paris, Keith Renz wrote:

I'm changing the name of a folder programatically (actually with movePath:toPath:handler:) and would like to have the change appear in the Finder without having to switch to a different folder and then back again. Is there any way to "touch" this folder or the parent folder (if that's the folder I need to touch)?

There's something for you in AppKit's NSWorkspace:
-[NSWorkspace noteFileSystemChanged]
or
-[NSWorkspace noteFileSystemChanged:]
.

-- David
_______________________________________________
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: How to "touch" a folder?
      • From: Keith Renz <email@hidden>
References: 
 >How to "touch" a folder? (From: Keith Renz <email@hidden>)

  • Prev by Date: How to "touch" a folder?
  • Next by Date: FSRef -> NSString
  • Previous by thread: How to "touch" a folder?
  • Next by thread: Re: How to "touch" a folder?
  • Index(es):
    • Date
    • Thread