Re: Predicates
Re: Predicates
- Subject: Re: Predicates
- From: Keith Penrod <email@hidden>
- Date: Wed, 26 Dec 2007 21:14:03 -0700
On Dec 26, 2007, at 8:49 PM, mmalc crawford wrote:
On Dec 26, 2007, at 7:35 PM, Keith Penrod wrote:
Put back the 'parent==nil' predicate when the search box is empty
(when there's no other predicate).
Unfortunately, I don't know how to do that during runtime.
How are you updating the predicate at the moment? You should be
able to ad a check to that method.
mmalc
In Interface Builder. I just type it into the "fetch predicate" box
in the inspector window. I'm currently trying to figure out how I can
make an outlet in the controller class that links to the search field
and tells it to update the fetchPredicate when it notices a change in
the search box, but I'm not sure how to do that.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden