Re: Trouble using ANY operator in an NSArrayController search predicate
Re: Trouble using ANY operator in an NSArrayController search predicate
- Subject: Re: Trouble using ANY operator in an NSArrayController search predicate
- From: Jim Correia <email@hidden>
- Date: Fri, 19 May 2006 16:59:53 -0400
On May 19, 2006, at 4:46 PM, Greg Herlihy wrote:
Remove the "ANY" from the search filter predicate. A filtering
predicate is
applied to each item individually in order to determine whether the
item
should be filtered out.
Greg,
Where in the docs could I have learned this from? The exception said
"The left hand side for an ALL or ANY operator must be either an
NSArray or an NSSet" and as far as I can tell, it was.
If I drop the ANY from the front, the predicate works as a filter
predicate, but it isn't doing a contains match, but rather an equals
- i.e. partial course name matches don't work. Any ideas?
Thanks,
Jim
_______________________________________________
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