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

Re: Predicate Builder & Fetched Properties


  • Subject: Re: Predicate Builder & Fetched Properties
  • From: Óscar Morales Vivó <email@hidden>
  • Date: Tue, 5 Jul 2005 13:48:49 -0400

Right click on the white space to the right of the field where you put the constant for more options. You may find what you want there.

(biggest UI klutz by Apple in a decade).

On Jul 5, 2005, at 13:31 , Jeff LaMarche wrote:

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


_______________________________________________ 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: 
 >Predicate Builder & Fetched Properties (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: NSOutlineView not always showing "expand triangle"
  • Next by Date: Cocoa classes question
  • Previous by thread: Predicate Builder & Fetched Properties
  • Next by thread: Re: Predicate Builder & Fetched Properties
  • Index(es):
    • Date
    • Thread