Re: Predicates in Interface Builder
Re: Predicates in Interface Builder
- Subject: Re: Predicates in Interface Builder
- From: Shawn Erickson <email@hidden>
- Date: Thu, 24 Sep 2009 11:39:17 -0700
On Thu, Sep 24, 2009 at 11:29 AM, Ian Piper
<email@hidden> wrote:
Hi all,
I am having a problem with setting some bindings for a Core Data application. I have a search field for which I am trying to set the bindings. As a slight simplification, I have an entity with two attributes, entryName (string) and entryContent (binary - contains rich text). I am finding that setting a predicate like this works fine, but only searches the name field (as I expected):
entryName contains[c] $value
However, if I try this:
(entryName contains[c] $value) or (entryContent contains[c] $value)
When you add a predicate you should see a second predicate option (predicate2, etc.) appear below it. You can then add an additional predicate.
-ShawnÂ
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden