Thanks Andreas, I see your point, but as far as I know, "IN" looks for an exact match (in this case, the attribute would have to match the term for the predicate to return true) where as I need it to check if the attribute CONTAINS the term (which is more appropriate for Spotlight-style search). That said, I am by no means an expert with predicates so correct me if I am wrong.
On 2011-03-14, at 3:45 AM, Andreas Grosam wrote: > This is fine, however I'm not completely confident that your compound > predicate (below) actually expresses your original intent. > Consider, the prediacte > All tems IN attributes > is equivalent to > (term_0 IN attributes) AND (term_1 IN attributes) ... AND (term_n IN > attributes) _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
