PDA

View Full Version : NSSearchField switching Predicates




MacDonaldsd
Mar 19, 2008, 03:45 PM
Hi all,

I have created a NSSearchField in IB and and I have a few predicates bound to it that each filter different array controllers.

Im wondering if there is a way to switch programmatically what predicate to use e.g. switch predicates by pressing a button rather than have to select it from a menu in the search field



gloubibou
Jul 22, 2008, 04:08 PM
Hi!

I am asking myself the very same question. I would like to programmatically access and set predicates.

Is there a way?
Or need I miss out on bindings and do all filtering in code?

Pierre