Using NSPredicateEditor, is there a way to get all of the Finder search categories for free?
- 阅读更多 关于 Using NSPredicateEditor, is there a way to get all of the Finder search categories for free?
问题 I'm adding an NSPredicateEditor to my app to allow the user to seach for specific files and categories of files. The default NSPredicateEditor template from Inteface Builder adds a control containing only "name", "address", and "sign" categories. I'm looking for more specific categories. I know that I can add menu items to these menus in Interface Builder, but I would greatly prefer not to maintain a list myself of all of the various categories and values for file searches. In Finder, a great