< Previous PageNext Page > Hide TOC

Tracking Workspace Changes

This task explains how to inform the file system of changes using NSWorkspace.

Tracking File System Changes

If you create a file directly, use the noteFileSystemChanged method to inform NSWorkspace that it needs to update itself. The noteFileSystemChanged: method informs NSWorkspace that the file system at a specific path has changed.

NSDocument and NSSavePanel call noteFileSystemChanged automatically, so you don’t need to use the NSWorkspace methods if you save a file using either of these classes.



< Previous PageNext Page > Hide TOC


© 2002, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-03-06)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.