Re: Binding nested objects
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