• 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
Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableColumn 'enabled' binding not in 10.3? Any others?


  • Subject: Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • From: mmalc Crawford <email@hidden>
  • Date: Mon, 28 May 2007 15:56:55 -0700


On May 28, 2007, at 11:38 AM, Jerry Krinock wrote:

Well, after after getting my first window to work using bindings in Tiger, I get the following error when the window loads in Panther:
[<NSTableColumn 0xXXXXXXXX> valueForUndefinedKey:]: this class is not key value coding compliant for the key enabled.


Have you bound the table column itself, or bound something *to* the 'enabled' key of the table column?



So, I surmise from this error that such a binding was not supported in Panther. But I looked in the API documentation of NSTableColumn, its superclass and protocols, and find that the 'enabled' attribute is not documented. So, I further surmise that NSTableColumn 'enabled' is one of those magical "bindings-only" attributes invoking some Apple-private API.


But I'm not sure because I searched the release notes,

http://developer.apple.com/releasenotes/Cocoa/AppKit.html

and did not find any mention of this. Neither do I see it in the Bindings Options documentation,

http://developer.apple.com/documentation/Cocoa/Reference/CocoaBindingsRef/Concepts/BindingsOptions.html
(Although I suppose that 'enabled' is an attribute, not an ^option^.)

Indeed -- so it's not clear why you don't refer to the table column bindings documentation: <http://developer.apple.com/documentation/Cocoa/Reference/CocoaBindingsRef/BindingsText/NSTableColumn.html >
?


"enabled
[...]

Availability:

Available in Mac OS X v10.3 and later."


It's also not clear what you mean by:

"So, I further surmise that NSTableColumn 'enabled' is one of those magical "bindings-only" attributes invoking some Apple-private API."

All the public bindings-related API is documented.

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSTableColumn 'enabled' binding not in 10.3? Any others?
      • From: Jerry Krinock <email@hidden>
References: 
 >NSTableColumn 'enabled' binding not in 10.3? Any others? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: observing dealloc
  • Next by Date: Re: CD: Creating a managed object
  • Previous by thread: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • Next by thread: Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • Index(es):
    • Date
    • Thread