• 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
Problems with NSArrayController and keyPath Operator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with NSArrayController and keyPath Operator


  • Subject: Problems with NSArrayController and keyPath Operator
  • From: Brian Williams <email@hidden>
  • Date: Wed, 29 Nov 2006 16:05:58 -0800

With a coredata model like this:

Departments contain one or more Employees and Employees have one manager(a relation to an employee).

In IB I have an ArrayController of Departments and an ArrayController of Employees of the selected Department. This works fine.

What I want is an ArrayController of Managers of the selected Department. I have tried binding to the Departments controller with the keyPath email@hiddener, but I get this error:

[<_NSFaultingMutableSet 0x3693b0> addObserver:forKeyPath:options:context:] is not supported.
Key path: manager' that raised during posting of delayed perform with target 397740 and selector 'invokeWithTarget:'


Can someone please explain to me why this wont work? I have read all the Key-Value programming guides and the bindings guide, if they say why this shouldn't work I missed it. Is it that key-value operators don't work with CD sets?

Thanks in advance for any insight provided.

Brian

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Problems with NSArrayController and keyPath Operator
      • From: Keary Suska <email@hidden>
    • Re: Problems with NSArrayController and keyPath Operator
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: how to stop a thread that's in a blocking call from the main thread
  • Next by Date: Re: Should I do loops in reverse order ?
  • Previous by thread: Re: how to stop a thread that's in a blocking call from the main thread
  • Next by thread: Re: Problems with NSArrayController and keyPath Operator
  • Index(es):
    • Date
    • Thread