Re: another question about view based NSTableViews

2015-03-15 Thread Graham Cox
> On 16 Mar 2015, at 12:24 pm, Patrick J. Collins > wrote: > > The docs say that with a view based table, the subviews (i.e. columns) > should handle their own behavior, but-- how does a NSTextField (my cell > view) know what row it's in, what column it is, etc... ? Each row view has a view c

Re: another question about view based NSTableViews

2015-03-15 Thread Ken Thomases
On Mar 15, 2015, at 8:24 PM, Patrick J. Collins wrote: > So, I have my NSTableView which is made up of NSTextFields as cells... > How do I handle knowing when the value of one of these text fields > change? > > The docs say that with a view based table, the subviews (i.e. columns) > should hand

another question about view based NSTableViews

2015-03-15 Thread Patrick J. Collins
So, I have my NSTableView which is made up of NSTextFields as cells... How do I handle knowing when the value of one of these text fields change? The docs say that with a view based table, the subviews (i.e. columns) should handle their own behavior, but-- how does a NSTextField (my cell view) kno