Version: 1.0

Posted: 2005-06-01

Build Requirements: Tiger

Runtime Requirements: Tiger

View Source Code:

Download Sample (“SpotlightAPI.zip”, 50.1K)
Download Sample (“SpotlightAPI.dmg”, 103.6K)



Description

Some small sample programs that Show how to use the Spotlight API in your programs.

First MDItemREf uses MDItemRef to get metadata for a file dragged into the window.

MDItemREf2 localizes the results

MDQueryRef1 does a query

MDQueryRef2 does a query for only images and show the metadata.

Document Revision History

Date Notes
2005-06-01Some small sample programs that Show how to use the Spotlight API in your programs.

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.