You are correct, it doesn't work. And in trying to figure this out,
I've come to realize that I've used predicates "the hard way" in some
of my code. Try this instead:
NSPredicate *pred = [NSPredicate predicateWithFormat:@"(SUBQUERY(
tags, $x, $x.name = %@ AND $x.value = %@)[EMAIL PROTECTED] != 0)",
@"aNameToMatch", @"aValueToMatch"];
Wow, that's it! Somehow I missed the whole SUBQUERY possibility. Thank
you very much!
Jesse
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]