views:

24

answers:

1

Hello, my uncle challenged me to make an application in which you can search the file system of a Mac. I've never actually had to do this yet in my programming experience, but I think it would be good to know as well. I have a search field, and a button that says search. Does anybody know how I can make that search the file system, and display the results? Thanks in advance!

+1  A: 

this should help: http://macdevcenter.com/pub/a/mac/2005/07/12/spotlight.html?page=1

Matt S.
That guide is outdated...
Daniel Ricany
@user354779: that doesn't really matter - the principle remains the same, i.e. use the Spotlight APIs.
Paul R