NSTabView Bindings
NSTabView Bindings
- Subject: NSTabView Bindings
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 22 Dec 2009 13:02:16 +0700
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 (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