|
Version: 1.0 Posted: 2008-06-06 Build Requirements: Xcode 3.1 and later, Mac OS X v10.5 and later Runtime Requirements: Mac OS X v10.5 and later Download Sample (SpotlightFortunes.zip, 121.4K) |
||||
DescriptionThis sample was inspired by the classic Unix fortune program. Instead of reading entries from a monolithic .fortunes file, it uses Spotlight to find all files with the com.example.fortune-file UTI and displays them in a Cocoa table view. Since the focus of this sample is Spotlight's live query support, only minimal support for creating new fortune files is provided. Support for deleting, editing, etc. is left as an exercise for the reader. Document Revision History
|
|