on 3/31/08 1:41 PM, [EMAIL PROTECTED] 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"


_______________________________________________

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]

Reply via email to