Re: NSTableview row-based, not redrawing on 10.9

2013-10-26 Thread Martin Hewitson
In the end I’ve resorted to listening for frame changes in my tableview subclass then I get the list of visible rows and force a redraw (via setNeedsDisplay) on the row views. I also have to propagate this to the child views which are the NSTextFields which were appearing black. Now I get an

NSTableview row-based, not redrawing on 10.9

2013-10-25 Thread Martin Hewitson
Dear list, I have a view-based tableview. In the row views there are some textfields which are a subclass of NSTextField. Since moving to 10.9, the textfields which are in rows which are out of view when the table loads are rendered all black when those rows are scrolled into view. This is new

Re: NSTableview row-based, not redrawing on 10.9

2013-10-25 Thread Michael Cinkosky
I believe you need to implement a new delegate method for this table: +(BOOL) isCompatibleWithResponsiveScrolling { return NO; } https://developer.apple.com/library/prerelease/mac/releasenotes/AppKit/RN-AppKit/index.html#//apple_ref/doc/uid/TP3741-CH2-SW28 Michael On Oct 25,

Re: NSTableview row-based, not redrawing on 10.9

2013-10-25 Thread Martin Hewitson
Implementing this doesn’t seem to make any difference. I checked that it is called. In any case, the release notes say that responsive scrolling is not active if you link against 10.7, which I do. Martin On 25 Oct 2013, at 08:47 pm, Michael Cinkosky mcinko...@thirdstreetsoftware.com wrote: