• 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: Simply read a value when using core data ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simply read a value when using core data ?


  • Subject: Re: Simply read a value when using core data ?
  • From: Bill Cheeseman <email@hidden>
  • Date: Mon, 26 Sep 2005 09:18:57 -0400
  • Thread-topic: Simply read a value when using core data ?

on 2005-09-26 6:40 AM, Kubernan from 10191 Technologies at
email@hidden wrote:

> What i want to do is do not call the sheet if the first name and the
> last name
> was already filled (for example in a previous use of this document).
>
> So my question is how to know - programmatically -  the content value
> of my people entity ?
> I don't know if i should use the controller or something else (i.e.
> core data APIs).

The Core Data documentation contains an example code snippet for determining
whether an object with a particular value exists. Basically, you issue a
fetch request with an appropriate predicate. I don't have the URL handy, but
you can find it with some judicious searching.

--

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: 
 >Simply read a value when using core data ? (From: Kubernan from 10191 Technologies <email@hidden>)

  • Prev by Date: Finding applications that link to framework
  • Next by Date: Re: Screenshots using Cocoa
  • Previous by thread: Simply read a value when using core data ?
  • Next by thread: Finding applications that link to framework
  • Index(es):
    • Date
    • Thread