NSSearchField switching Predicates

Discussion in 'Mac Programming' started by MacDonaldsd, Mar 19, 2008.

  1. macrumors 65816

    MacDonaldsd

    Joined:
    Sep 8, 2005
    Location:
    London , UK
    #1
    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
     
  2. macrumors member

    Joined:
    Jun 5, 2005
    #2
    Same question

    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
     

Share This Page