• 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: Bruce Truax <email@hidden>
  • Date: Tue, 19 Oct 2004 17:23:00 -0400

You are correct, that is exactly what I did. So I tried what you suggested
nameing my new controller ThPikupController and the error went away. I then
bound my UI display boxes to selection.surface[ThPikupController],
selection.scale[ThPikupController] and selection.offset[ThPikupController].
Now my UI boxes show the message "No Selection".

I guess this is progress.

Bruce


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

_______________________________________________
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:
    • [SOLVED] Binding nested objects
      • From: Bruce Truax <email@hidden>
References: 
 >Re: Binding nested objects (From: Scott Stevenson <email@hidden>)

  • Prev by Date: Re: Expanding lists
  • Next by Date: Re: Cocoa-dev Digest, Vol 1, Issue 162
  • Previous by thread: Re: Binding nested objects
  • Next by thread: [SOLVED] Binding nested objects
  • Index(es):
    • Date
    • Thread