Re: bindings, NSTableView and overriding drawRow
Re: bindings, NSTableView and overriding drawRow
- Subject: Re: bindings, NSTableView and overriding drawRow
- From: Scott Anguish <email@hidden>
- Date: Tue, 23 Nov 2004 19:44:09 -0500
On Nov 23, 2004, at 6:25 PM, Byron Wright wrote:
I am attempting to override drawRow in a subclass of NSTableView and
don't want to break binding support. I don't want to draw using a
custom cell because I would like to be able to use different data
cells for different columns. So my question is, how can one
programatically query the NSTableColumn's binding information to
figure out the key paths? So say the column has been bound like :
this is asked somewhat frequently.
Short answer, you can't. You instead need to override
NSTableColumn, and sock away the values someplace in your subclass by
overriding bindTo:...
there should be many more detailed answers in the archives.
_______________________________________________
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