Re: Predicate Row Template array within array
Re: Predicate Row Template array within array
- Subject: Re: Predicate Row Template array within array
- From: Trygve Inda <email@hidden>
- Date: Sun, 30 Nov 2014 11:02:51 -0800
- Thread-topic: Predicate Row Template array within array
{
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.
My class has
@property (copy, readwrite) NSString* id;
@property (copy, readwrite) NSString* word;
And they are synthesized
I am not sure what class it is trying to look at since it does not indicate
that.
Any ideas?
_______________________________________________
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