我知道 NSPredicateEditor 的基本示例/教程实现:
http://developer.apple.com/library/mac/#samplecode/PredicateEditorSample/Introduction/Intro.html
我在实际应用程序中见过类似 NSPredicateEditors 的 UI 的唯一地方是 iTunes 中的智能播放列表表单和 Aperture 中的照片滤镜表单。我对以下约定感到好奇:
- NSPredicateEditor 相对于 TableView 的放置。
- 用于隐藏和显示 NSPredicateEditor 的 UI。
- 用于应用谓词的按钮(如果有)。
在实际应用程序中有效实现 NSPredicateEditor 的其他示例还有哪些?
最佳答案
Finder 中的
cmd-f 将打开一个高级查找窗口,其中包含谓词编辑器和随附的表格 View 。
关于objective-c - NSPredicateEditor 的 UI 约定,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4433691/