> @"(myCompanyCar == NIL) AND department == <a specific department>".
You are headed down the right path:
[NSPredicate predicateWithFormat: @"myCompanyCar == NIL AND department ==
%@", theDepartment];
Or
[NSPredicate predicateWithFormat: @"self IN %@ AND myCompanyCar == NIL",
[theDepartment employees]];
Conor
http://www.bruji.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden