• 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: [Core Data] recordExistsForKey:Value method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Core Data] recordExistsForKey:Value method?


  • Subject: Re: [Core Data] recordExistsForKey:Value method?
  • From: Bill Cheeseman <email@hidden>
  • Date: Fri, 22 Jul 2005 15:04:16 -0400

on 2005-07-22 2:24 PM, Charles Haron at email@hidden wrote:

> Does Core Data provide a mechanism for checking the existence of a given
> record without performing a fetch?
>
> For example, a method that returns "true" if a record containing a given
> attribute value exists.
>
> Something like: - (BOOL) recordExistsForKey:Value

Somewhere in the Core Data documentation, you'll find sample code showing
you exactly how to determine whether a record exists. If I recall correctly,
you're expected to perform a fetch with an appropriate predicate.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >[Core Data] recordExistsForKey:Value method? (From: Charles Haron <email@hidden>)

  • Prev by Date: Re: Strange issue when converting from hex to float
  • Next by Date: Re: Strange issue when converting from hex to float
  • Previous by thread: Re: [Core Data] recordExistsForKey:Value method?
  • Next by thread: The Blue Technologies Group releases Localization Suite 2.0
  • Index(es):
    • Date
    • Thread