Re: Calculating row heights for view-based table rows, on re-use throws error

2012-08-18 Thread Fritz Anderson
On 17 Aug 2012, at 9:15 PM, Erik Stainsby erik.stain...@roaringsky.ca wrote: I have a view-based table in which there are four distinct row types, representing distinct object types which may appear. The tableRowViews are in the nib and represented in the code here as xxxCellView entities.

Re: Calculating row heights for view-based table rows, on re-use throws error

2012-08-18 Thread Erik Stainsby
Thanks for the thought Fritz. Removing my ham-handed attempt to purge the tableView of its rows indeed resolved the out of range error. On 2012-08-18, at 8:24 AM, Fritz Anderson fri...@manoverboard.org wrote: My expectation is that I ought to be able to clear the table (iterating through the

Calculating row heights for view-based table rows, on re-use throws error

2012-08-17 Thread Erik Stainsby
Hello all, I have a view-based table in which there are four distinct row types, representing distinct object types which may appear. The tableRowViews are in the nib and represented in the code here as xxxCellView entities. - (CGFloat)tableView:(NSTableView *)tableView