SSYFileFinder


A class for programmatically conducting a Spotlight search for a named file, returning an array of paths.

Superclass: NSObject
Declared In: SSYFileFinder.h



Two class methods is exposed. findPathsWithPredicate:callbackTarget:callbackSelector: is the general, base method. findPathsWithFilename:callbackTarget:callbackSelector: is a wrapper around the base method which shows how to construct predicates for a the search you need. For a complete list of attributes, consult Apple's "MD Item Reference" documentation and scroll down to "File System Metadata Attribute Keys".

The class method creates an instance which self-destructs after the search is complete. This class requires Mac OS 10.5 or later.



Last Updated: Monday, September 29, 2008
HTML documentation generated by HeaderDoc