I want to create an iTunes style search function where a searchfield will look through the contents of a directory and display the results in an NSTableView
.
This would be specifically for music so the searchfield should match either song name, artist name or song name.
Is there a way to do this in Objective-C without having the contents of the directory added into the NSTableView
first?
where is the "directory" located? are you talking about an actual directory on your local filesystem? I suggesting populating an array with the contents of a directory listing and then using on of the many howto's to get a search to populate a tableView.
http://cocoadev.com/index.pl?NSTableViewTutorial lesson 6