• 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
Predicate Builder & Fetched Properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Predicate Builder & Fetched Properties


  • Subject: Predicate Builder & Fetched Properties
  • From: Jeff LaMarche <email@hidden>
  • Date: Tue, 5 Jul 2005 13:31:18 -0400

I'm playing around with fetched properties, and I thought I understood them, but I'm trying to do something fairly basic, and cannot figure out how to do it based on Apple's Doc.

Okay, let's say I've got an entity called People with an attribute called birthYear. Then I want to create a smartlist that shows all people with a specified birth year.

So I create my smartlist entity, with one attribute (year), and one fetched property that references the People object. I go into the predicate builder and select the birthYear attribute for the left hand side of the equation, and select "=" for the operator. Now, there doesn't appear to be any way to specify an attribute from the smart list entity on the right hand side. I can choose a constant or another attribute from the Person entity. I've tried using using $FETCH_SOURCE but it tells me it can't parse it.

Now I know how to do this with code, but it seems like I should be able to do this right in the predicate builder? Can anyone help me out here?

Thanks,
Jeff

_______________________________________________
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


  • Follow-Ups:
    • Re: Predicate Builder & Fetched Properties
      • From: mmalcolm crawford <email@hidden>
    • Re: Predicate Builder & Fetched Properties
      • From: Óscar Morales Vivó <email@hidden>
  • Prev by Date: Re: HTML + CSS specs used in the WebKit for NSTextView
  • Next by Date: Re: NSOutlineView not always showing "expand triangle"
  • Previous by thread: Re: Larger application size
  • Next by thread: Re: Predicate Builder & Fetched Properties
  • Index(es):
    • Date
    • Thread