Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Watcher
Last Revision: | Version 1.4, 2006-08-04 Simplified the code by eliminating custom logging code and unnecessary command line arguments. |
Build Requirements: | Xcode 3.0 |
Runtime Requirements: | Mac OS X 10.5 |
Watcher is a simple demonstration of the FSEvents API. It monitors a directory hierarchy and keeps track of the total size of the data contained in it. When a directory inside it changes, it recalculates the size of that directory and updates the total size.
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-08-04