• 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
NSTabView Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTabView Bindings
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Localization strategies?
  • Next by Date: Re: Core Data _NSFaultingMutableSet Exception
  • Previous by thread: Re: Core Data _NSFaultingMutableSet Exception
  • Next by thread: Re: NSTabView Bindings
  • Index(es):
    • Date
    • Thread