> Did you try:
> 
> @distinctUnionOfObjects.Genre
> 
> since valueForKey:@"Genre" returns an NSString object, not an array.
> 
> -aaron

Same results more-or-less:

I set the secondary NSArrayController to be bound to the master with
arrangesObjects and @distinctUnionOfObjects.Genre

I wish there were an example of a iTunes-like table with say 4 or 5 columns
and then two filtering columns, and a final table showing the filtered
results with the same 4 or 5 columns of filtered data. That is all I am
trying to make it do.



Application Specific Information:
abort() called
*** Terminating app due to uncaught exception 'NSUnknownKeyException',
reason: '[<_NSControllerTreeProxy 0x10045a4c0> valueForUndefinedKey:]: this
class is not key value coding-compliant for the key
@distinctUnionOfObjects.'

*** Call stack at first throw:
(
    0   CoreFoundation                      0x00007fff86827444
__exceptionPreprocess + 180
  
  1   libobjc.A.dylib                     0x00007fff818b00f3
objc_exception_throw + 45
  
  2   CoreFoundation                      0x00007fff8687ea19 -[NSException
raise] + 9
  
  3   Foundation                          0x00007fff859fe17e
-[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 245
  
  4   Foundation                          0x00007fff8592d3dd
-[NSObject(NSKeyValueCoding) valueForKey:] + 420
 
   5   Foundation                          0x00007fff85930da3
-[NSObject(NSKeyValueCoding) valueForKeyPath:] + 357

    6   Foundation                          0x00007fff85930db6
-[NSObject(NSKeyValueCoding) valueForKeyPath:] + 376


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to