Skip navigation.
 
mlRe: NSPredicate and Arrays
FROM : Keary Suska
DATE : Mon Mar 31 22:43:12 2008

on 3/31/08 1:41 PM, <email_removed> purportedly said:

> ArrayOfFoos:
>    Foo: (Custom Object)
>        Bars: (NSArray *)            Bar: (Custom Object)
>                Baz = 1 (int Property on custom object)
>            Bar:
>                Baz = 3
>        ...
>    Foo:        Bars:
>            Bar:
>                Baz = 2
>            Bar:
>                Baz = 1
>        ...
> ...
>
> and
> So what I want to do is pull out all Foos who have a baz == 1.


How about @"ALL Bars.baz = 1" ? Have you read the Predicate Programming
Guide
<http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/predic
ates.html
> ?

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

Related mailsAuthorDate
mlNSPredicate and Arrays Jake Carter Mar 31, 21:41
mlRe: NSPredicate and Arrays Keary Suska Mar 31, 22:43