• 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: Binding nested objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding nested objects


  • Subject: Re: Binding nested objects
  • From: Scott Stevenson <email@hidden>
  • Date: Tue, 19 Oct 2004 14:10:38 -0700


On Oct 19, 2004, at 1:59 PM, Bruce Truax wrote:

I have an NSObjectController bound to the ACLensDataObject and then an array
controller bound to selection.surfaceArray. I tried binding another
NSObjectController to selection.thPikup but I get the following error
message:

2004-10-19 16:29:21.458 AccosX[11650] [<ACLensDataObject 0x54392e0>
valueForUndefinedKey:]: this class is not key value coding-compliant for the
key thPikup.

When you say to bound to "selection.thPikup", which controller were you binding to?


The NSArrayController should be bound to the first NSObjectController (ACLens...).

And the *second* NSObjectController should be bound to the NSArrayController using:

"selection.thPikup"

Based on the error message, it looks like you tried to bind the second NSObjectController to the first NSObjectCotnroller.


- Scott



--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Binding nested objects
      • From: Bruce Truax <email@hidden>
References: 
 >Binding nested objects (From: Bruce Truax <email@hidden>)

  • Prev by Date: Expanding lists
  • Next by Date: Re: Expanding lists
  • Previous by thread: Binding nested objects
  • Next by thread: Re: Binding nested objects
  • Index(es):
    • Date
    • Thread