filterPredicate and bindings
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