NSPredicateEditor tutorial

1 · Vincent Driessen · June 20, 2009, midnight
Cocoa offers a nice visual editor for editing NSPredicate objects templates, called NSPredicateEditor. The NSPredicateEditor can be set up using code or in Interface Builder, which is preferable for simple use. The setup is fairly easy once you know how to do it. In this tutorial, we’ll be building a simple predicate editor example which shows the basic functionality of the predicate editor. Setting up the AppDelegate ¶ Begin by creating a new Xcode project (⌘⇧N). Name your project wisely and cr...