Re: master-detail: binding array controller to the attribute of selection of master array controller
Re: master-detail: binding array controller to the attribute of selection of master array controller
- Subject: Re: master-detail: binding array controller to the attribute of selection of master array controller
- From: Izidor Jerebic <email@hidden>
- Date: Thu, 24 Jul 2008 06:15:51 +0200
On 23.7.2008, at 23:42, mmalc crawford wrote:
On Jul 23, 2008, at 11:51 AM, Izidor Jerebic wrote:
Hm, the docs say:
Typically, the content binding is created automatically when the
initial NSTableColumn binding is made, binding to the column's
NSArrayController.
I don't see what is inappropriate.
It should work, because I set it to the same array controller that
the bindings machinery would set it anyway, right?
No, you didn't. You only set the 'content' binding'.
And binding machinery would override it anyway, right?
Wrong.
It says nothing about "do not set this binding because selection
notifications won't work". It says that it is read-only, but why is
there any effect when setting it in InterfaceBuilder? And why am I
allowed to set it? What does it mean 'read-only' ?
You are allowed to set it. If you set it, though, you also have to
set the 'sortDescriptors' and 'selectionIndexes' bindings as well --
Thank you for the explanations. I see now why it didn't work.
izidor
P.S. But I would still like some other bindings debug mechanism then
'send email to cocoa-dev', though it turned out great in my case :-)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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