Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Version 1.1, 2010-03-15
Upgraded to support 10.6, now builds 3-way Universal (ppc, i386, x86_64), plugged up one leak.
(Full Revision History)
Xcode 3.2 or later, Mac OS X 10.6 or later
Mac OS X 10.5.x or later
"PredicateEditorSample" is a Cocoa application that demonstrates how to use the NSPredicateEditor class. The NSPredicateEditor class is a subclass of NSRuleEditor that is specialized for editing NSPredicate objects. This sample is intended to show how to use the many different features and aspects of this control and leverages Spotlight to search your Address Book.