• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: seemingly simple Core Data fetch question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: seemingly simple Core Data fetch question


  • Subject: Re: seemingly simple Core Data fetch question
  • From: Conor <email@hidden>
  • Date: Wed, 29 Aug 2007 09:38:54 +0200

>    @"(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

  • Prev by Date: Re: NSXMLDocument Crashing
  • Next by Date: Re: NSXMLDocument Crashing
  • Previous by thread: Re: seemingly simple Core Data fetch question
  • Next by thread: encoding vended objects
  • Index(es):
    • Date
    • Thread