Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSTableColumn 'enabled' binding not in 10.3? Any others? (From: Jerry Krinock <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.