• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
filterPredicate and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

filterPredicate and bindings


  • Subject: filterPredicate and bindings
  • From: Kelly Brown <email@hidden>
  • Date: Fri, 02 Feb 2007 21:24:51 -0500

So far the only way I've managed to use binding and the filterPredicate field is by using an arraycontroller with filter predicate linked to the arraycontroller that manages the coredata db and then binding a result to a textfield.

Despite some serious time with TFM I can't for the life of me figure out to just bind a textfield to an arraycontroller and specify the textfield's filterPredicate. There seems to no documentation on the syntax for this, or how to apply a fetched property or request with a predicate built using the predicate bulder the bind property 'value'. It seems absolutely opaque.

eg.

How do I populate the binding on a textfield to get the result I want:

  value >
      Bind to: ArrayController
      Controller  key:  filterPredicate?
      Model key path:  what goes here and what's the syntax?

Thanks,
Kell Brown
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: filterPredicate and bindings
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Reading input from USB Joysticks
  • Next by Date: Close button vs. command-h
  • Previous by thread: Re: Reading input from USB Joysticks
  • Next by thread: Re: filterPredicate and bindings
  • Index(es):
    • Date
    • Thread