• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iPhone] NSPredicate formatting questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] NSPredicate formatting questions


  • Subject: Re: [iPhone] NSPredicate formatting questions
  • From: Sandro Noël <email@hidden>
  • Date: Sun, 22 Aug 2010 00:15:53 -0400

Oh my god, I feel ashamed...
that's what I get for working late.

I'm sorry.



On 2010-08-21, at 11:38 PM, Wyatt Webb wrote:

>
> 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

_______________________________________________

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

  • Follow-Ups:
    • Re: [iPhone] NSPredicate formatting questions
      • From: Wyatt Webb <email@hidden>
References: 
 >[iPhone] NSPredicate formatting questions (From: Sandro Noël <email@hidden>)
 >Re: [iPhone] NSPredicate formatting questions (From: Wyatt Webb <email@hidden>)

  • Prev by Date: Re: [iPhone] NSPredicate formatting questions
  • Next by Date: Re: [iPhone] NSPredicate formatting questions
  • Previous by thread: Re: [iPhone] NSPredicate formatting questions
  • Next by thread: Re: [iPhone] NSPredicate formatting questions
  • Index(es):
    • Date
    • Thread