Re: Predicate Problems
Re: Predicate Problems
- Subject: Re: Predicate Problems
- From: Charilaos Skiadas <email@hidden>
- Date: Tue, 12 Jul 2005 14:41:56 -0500
SIZE is a reserved word, though it is not clear from the
documentation what it is doing.
http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/
Articles/pSyntax.html
On Jul 12, 2005, at 2:03 PM, Jeff LaMarche wrote:
sizePredicate = [NSPredicate predicateWithFormat:@"size >= %
@",sizeNum];
<snip>
SIZE >= 5
but if I do it with a string attribute called "kind", I get:
kind BEGINSWITH "Gr"
I don't know if it's relevant, but it seems odd that it's
capitalizing my attribute name in the first case, but not in the
second. In my travels thus far with Core Data, I've never before
seen it capitalize the attribute name.
Does anybody know what I'm doing wrong?
TIA,
Jeff
Haris
_______________________________________________
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