Mailing Lists: Apple Mailing Lists

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

NSCell subclass in NSTableColumn - bindings?



For the various built-in cells like NSTextFieldCell and NSImageCell,
NSTableColumn mirrors its cell's exposed bindings in its own exposed
bindings. E.g. if you put an NSTextFieldCell in an NSTableColumn, the
NSTableColumn exposes bindings named "value" and "displayPatternValue1",
which the cell also exposes. If you use an NSImageCell, which exposes
"valueURL", "valuePath", "value", and "data" bindings, then the column
also exposes "valueURL", "valuePath", "value", and "data" bindings.

I have a subclass of NSCell named SparkLineCell. SparkLineCell exposes
a "dataSet" binding. If I put it into an NSTableColumn, the column
does NOT expose a "dataSet" binding. I tried playing with the class
of the "dataSet" binding, making it just NSString, but that makes
no difference. I tried adding a binding named "value" with class
"NSString", but that didn't make NSTableColumn expose a "value" binding
either.

Does anybody know how to affect which bindings NSTableColumn exposes?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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.