I am trying to bind "editable" of an NSTableColumn to ObjectController 
tabView.selectedIndex
(The tab view has two items: Read and Edit. When the first item is selected, my 
table column should not be editable).

But I am told:
[<NSTabView 0x10027d010> valueForUndefinedKey:]: this class is not key value 
coding-compliant for the key selectedIndex.

On the other hand, the Cocoa Bindings Reference for NSTabView says: 
"selectedIndex
An integer value that specifies the index of the selected item in the 
NSTabView. When the selection changes in the NSTabView, this value is updated 
with the index of the newly selected item."

So: what is going on? 
And: how do I make my table column editable if and only if the first tab view 
item is selected?

Kind regards,

Gerriet.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to