NSCell subclass in NSTableColumn - bindings?
NSCell subclass in NSTableColumn - bindings?
- Subject: NSCell subclass in NSTableColumn - bindings?
- From: Rob Mayoff <email@hidden>
- Date: Mon, 31 Oct 2005 15:55:34 -0600 (CST)
- Envelope-sender: email@hidden
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:
This email sent to email@hidden