• 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: Easy Fetched Property question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Easy Fetched Property question.


  • Subject: Re: Easy Fetched Property question.
  • From: Charilaos Skiadas <email@hidden>
  • Date: Mon, 25 Jul 2005 11:34:38 -0500


On Jul 25, 2005, at 9:00 AM, Óscar Morales Vivó wrote:

Or at least I hope it is easy ;o)

I have an entity "Person" with a boolean property "isMale"

I want to have a fetched property which will return me all "Person" objects which comply with the following two conditions:

- have a certain value of isMale. This one's easily set in the predicate editor.
- Are not the same object as $FETCH_SOURCE. This one I'm not sure how to set it in the predicate, since it allows one to choose any of the entity's properties but not the object itself.

I think the literal SELF is what you are looking for here, as described in:
http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/ Articles/pSyntax.html#//apple_ref/doc/uid/TP40001795
If I have not misunderstood what you are trying to do.
I might have missed something really obvious, but that's no excuse for not being nice and helping ;o)

Thanks in advance for your help:

Óscar Morales Vivó. _______________________________________________

Haris


_______________________________________________ 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: 
 >Easy Fetched Property question. (From: Óscar Morales Vivó <email@hidden>)

  • Prev by Date: Re: Swapping toolbars
  • Next by Date: applicationWillFinishLaunching not being called
  • Previous by thread: Easy Fetched Property question.
  • Next by thread: smooth QT loop (in OpenGL texture context)
  • Index(es):
    • Date
    • Thread