One Quickie

NSSearchField filtering for an NSArrayController (Bindings->General)
In Tigger, NSSearchField can now automagically filter an array via IB magic.

In Interface Builder, drag over the NSSearchField, and bind the predicate like this:

If you're wanting to be able to filter on multiple attributes, make additional predicate bindings. Doing the CoreData option-drag of an entity into IB is really handy - take a peek at how it configures the search field for filtering multiple columns.

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book