how can my app know when the contents of a folder has changed?
how can my app know when the contents of a folder has changed?
- Subject: how can my app know when the contents of a folder has changed?
- From: Donald Hall <email@hidden>
- Date: Sun, 15 Dec 2002 00:20:21 -0700
My application displays the contents of a certain folder in an outline
view. I want to be able to update the outline view while my app is
running if the user has made a change to the folder being displayed.
It looks like I can register with the NSWorkspace notification center to
receive a 'NSWorkspaceDidPerformFileOperationNotification' notification.
This notification has a userInfo dictionary with one key,
NSOperationNumber. The documentation does not indicate what these
numbers are. Does anyone know where to find what they are and what
operation each corresponds to? Is there no way to find out if the folder
I am interested in is the one that has changed? Or does this
notification get sent if a file is modified or added or moved to a
different folder?
Thanks for any pointers,
Don
----------------------------------------------
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
http://www.theboss.net/appsmore
_______________________________________________
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.