• 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: @distinctUnionOfArrays problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @distinctUnionOfArrays problem


  • Subject: Re: @distinctUnionOfArrays problem
  • From: Trygve Inda <email@hidden>
  • Date: Sat, 13 Feb 2010 01:15:57 +0000
  • Thread-topic: @distinctUnionOfArrays problem

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

  • Prev by Date: Youtube video upload ussue
  • Next by Date: Re: get the list of controls in a NSView
  • Previous by thread: Re: @distinctUnionOfArrays problem
  • Next by thread: Re: @distinctUnionOfArrays problem
  • Index(es):
    • Date
    • Thread