NSearchField IB Predicates
NSearchField IB Predicates
- Subject: NSearchField IB Predicates
- From: Steve Cronin <email@hidden>
- Date: Tue, 31 Jan 2006 00:49:12 -0600
Folks;
I have a classic Master-Detail data model. In the Master the
relationship is called: details.
I have funtioning NSSearchField toolbarItem built completely in IB.
It is bound to an array controller which is managing the Master
Entity [Attributes].
This same array controller is the data source for a tableView...
The several IB built predicates (1-5) look like: fieldX contains[c]
$value.
This all works great!
Now I want to allow the predicate to do: details.fieldZ contains[c]
$value
Neither IB nor XCode complain. It compiles fine and there is no
runtime moaning and groaning about KVC compliance.
But if I supply any value in the field --> no results.
If I back out the values all the appropriate records show up in the
TableView even though I still have that predicate selected (item 6 of 6)
How do I debug this?
Any thoughts on why it's failing?
Thanks Ahead of Time!
Steve
Cocoa rules cool.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden