How to access all files and folders names that contain string "xyz" in Cocoa
If I give the string xyz
, the program should sear开发者_运维技巧ch all files and folders from the whole harddisk that contain the string xyz
in name. How to write code for this in Cocoa using Xcode and Objective-C in MAC OS? Please help me.
Try Spotlight by the means of NSMetadataQuery
精彩评论