Predicate Builder & Fetched Properties
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