开发者

How to access all files and folders names that contain string "xyz" in Cocoa

开发者 https://www.devze.com 2023-02-01 02:47 出处:网络
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 an

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

0

精彩评论

暂无评论...
验证码 换一张
取 消