• 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: Predicate Row Template array within array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Predicate Row Template array within array
      • From: Keary Suska <email@hidden>
References: 
 >Predicate Row Template array within array (From: Trygve Inda <email@hidden>)

  • Prev by Date: Predicate Row Template array within array
  • Next by Date: Proper use of representedObject in segues
  • Previous by thread: Predicate Row Template array within array
  • Next by thread: Re: Predicate Row Template array within array
  • Index(es):
    • Date
    • Thread