On Nov 30, 2014, at 9:02 AM, Trygve Inda <[email protected]> wrote:
> {
>
> NSString* name;
> NSDate* date;
> NSArray* words;
> }
> Objects;
>
> The words array looks like:
> {
>
> NSString* id;
> NSString* word;
> }
> Words;
>
>
> As a follow up:
>
> When I use a left expression of:
>
> @"words.word"
>
> And a modifier of: NSAnyPredicateModifier
>
> My predicate ends up as:
>
> ANY words.word CONTAINS[cd] "Test"
>
> But I get:
> [<__NSCFString 0x610000277d00> valueForUndefinedKey:]: this class is not key
> value coding-compliant for the key word.
>
> But it is.
Notice that the object being queried is an NSString, and not the expected
"word" object. This either means that your "words" array contains at least one
plain NSString, or you are experiencing a memory management issue. Break on
exception and see what is in that NSString.
HTH,
Keary Suska
Esoteritech, Inc.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]