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

[SOLVED] Binding nested objects


  • Subject: [SOLVED] Binding nested objects
  • From: Bruce Truax <email@hidden>
  • Date: Tue, 19 Oct 2004 18:06:31 -0400

Silly me. I forgot to allocate the thPikup object. Once I did that it
worked great.

Bruce


On 10/19/04 5:23 PM, "Bruce Truax" <email@hidden> eloquently wrote:

> 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

--
____________________________________________________________
Bruce E. Truax email: email@hidden
Optical Engineering Consultant

Diffraction Limited Design LLC
388 Wedgewood Road voice: 860-276-0450
Southington, CT 06489 fax: 860-620-9026
http://www.dld-llc.com
_____________________________________________________________

_______________________________________________
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

References: 
 >Re: Binding nested objects (From: Bruce Truax <email@hidden>)

  • Prev by Date: Re: Grabbing "top level" nib objects in 10.2
  • Next by Date: Unable to programmatically add NSTabViewItem(s) to NSTabView
  • Previous by thread: Re: Binding nested objects
  • Next by thread: Expanding lists
  • Index(es):
    • Date
    • Thread