Re: [iPhone] NSPredicate formatting questions
Re: [iPhone] NSPredicate formatting questions
- Subject: Re: [iPhone] NSPredicate formatting questions
- From: Wyatt Webb <email@hidden>
- Date: Sat, 21 Aug 2010 20:38:45 -0700
On Aug 21, 2010, at 3:40 PM, Sandro Noël wrote:
> while in a member resultset i want to filter the content on category names.
>
> [NSPredicate predicateWithFormat:@"(caregory.name IN %@)",[selections objectForKey:kPredicateFieldNamesArray]];
>
> I crash with:
> 'unimplemented SQL generation for predicate : (caregory.name IN {"Boutiques"})'
>
> I've otherwise tried:
> [NSPredicate predicateWithFormat:@"(caregory.@name IN %@)",[selections objectForKey:kPredicateFieldNamesArray]];
> 'Unsupported KVC aggregate in keypath: caregory.@name'
>
> Am I missing something?
> I thought KVC was part of the Predicates.
Not to state the obvious, but you did notice that your code has misspelled "category", right? Is the property name correct?
Wyatt_______________________________________________
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