[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSPredicate
From: |
Fred Kiefer |
Subject: |
Re: NSPredicate |
Date: |
Fri, 31 Oct 2008 21:20:05 +0100 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080922) |
Samantha Rahn wrote:
> What types of syntax can and cannot be used in NSPredicate?
>
> When I use
>
> companyName CONTAINS 'Corp'
>
> I get:
>
> NAME:NSInvalidArgumentException REASON:Format string contains
> extra characters: "companyName CONTAINS 'Corp'"
>
I had a look at the source code and it looks like we are missing code
for the parsing of string constants. Somebody will have to add this.
The whole file NSPredicate.m needs a make over, we should split it up
and replace the current scanner with something more powerful.
Any volunteers?
Fred
- NSPredicate, Samantha Rahn, 2008/10/31
- Re: NSPredicate,
Fred Kiefer <=