On Jan 26, 2011, at 8:39 AM, Matt Patenaude wrote:
> Never prematurely optimize. To my knowledge, -reloadData is a pretty
> intelligent method and performs incremental updates only as necessary.
No, don't do that. For NSTableView, it can't be very intelligent. It has to
requery everything from t
Never prematurely optimize. To my knowledge, -reloadData is a pretty
intelligent method and performs incremental updates only as necessary. Have you
tested it to see if your application takes a noticeable performance hit? If it
doesn't, then don't second-guess the Cocoa frameworks.
Regardless,
Have you tried [[theTable headerView] setNeedsDisplay:YES];?
That seems like the obvious solution, but the poster in that thread claims,
incorrectly, that the table header isn't a view. Yes it is.
--Graham
On 27/01/2011, at 3:05 AM, Eric Gorr wrote:
> I found this old thread:
>
> refreshin
I found this old thread:
refreshing the header title for an NSTableColumn
http://lists.apple.com/archives/cocoa-dev/2005/Nov/msg00659.html
which describes the same problem I just faced.
In my case, I needed to change the justification of the text in the header cell
and calling setNeedsDis