Re: NSOutlineView Travails

2013-05-02 Thread Corbin Dunn
On May 2, 2013, at 3:44 PM, Gordon Apple wrote: > We did get a customRowView to work in the TableViewPlayground sample. The > popover showed a simple color image view with some text that displayed the > row number. As you mouse over the outline, any previous popover closes and a > new one a

Re: NSOutlineView Travails

2013-05-02 Thread Corbin Dunn
On May 2, 2013, at 3:15 PM, Quincey Morris wrote: > On May 2, 2013, at 14:52 , Corbin Dunn wrote: > >> On Apr 17, 2013, at 2:09 PM, Quincey Morris >> wrote: >> >>> On Apr 17, 2013, at 10:50 , Gordon Apple wrote: >>> We are converting tables and outlines to view-based. So far, so go

Re: NSOutlineView Travails

2013-05-02 Thread Gordon Apple
We did get a customRowView to work in the TableViewPlayground sample. The popover showed a simple color image view with some text that displayed the row number. As you mouse over the outline, any previous popover closes and a new one appears at the edge of the outline/table view row. I filed a r

Re: NSOutlineView Travails

2013-05-02 Thread Quincey Morris
On May 2, 2013, at 14:52 , Corbin Dunn wrote: > On Apr 17, 2013, at 2:09 PM, Quincey Morris > wrote: > >> On Apr 17, 2013, at 10:50 , Gordon Apple wrote: >> >>> We are converting tables and outlines to view-based. So far, so good, on >>> tables. But NSOutlineView has been a pain. First of

Re: NSOutlineView Travails

2013-05-02 Thread Corbin Dunn
On Apr 21, 2013, at 11:51 AM, Gordon Apple wrote: > Our view-based NSOutlineView still has a few annomalies, but mostly works. > Now, we are attempting to install a hoverView in our outline column to > launch a popover (display only) when mousing over a row. This works just > fine with NSTableV

Re: NSOutlineView Travails

2013-05-02 Thread Corbin Dunn
On Apr 17, 2013, at 2:09 PM, Quincey Morris wrote: > On Apr 17, 2013, at 10:50 , Gordon Apple wrote: > >> We are converting tables and outlines to view-based. So far, so good, on >> tables. But NSOutlineView has been a pain. First of all, there is no >> documentation on this, zero, zip, na

Re: NSOutlineView Travails

2013-04-21 Thread Gordon Apple
Our view-based NSOutlineView still has a few annomalies, but mostly works. Now, we are attempting to install a hoverView in our outline column to launch a popover (display only) when mousing over a row. This works just fine with NSTableViews, but so far does not work at all with NSOutlineView. We

Re: NSOutlineView Travails

2013-04-17 Thread Quincey Morris
On Apr 17, 2013, at 18:08 , Gordon Apple wrote: > Our outlineView is not stable and it sometimes edits the wrong row. FWIW, the several times I saw instability and other odd behavior, it turned out I was doing something to the outline view on a non-main thread. The odd behavior didn't necessa

Re: NSOutlineView Travails

2013-04-17 Thread Gordon Apple
By now, I¹m sure you¹ve seen my second posting. That at least got things showing up in (mostly) the right place. We always had a mixture of bindings and data source, mainly because line numbers were hard to do with bindings. With view=based tables and a little subclassing, it¹s not so hard. For

Re: NSOutlineView Travails

2013-04-17 Thread Gordon Apple
We had assumed that outlineView:objectValueForTableColumn:item was not called if the table was bound to a NSTreeController. Wrong assumption. If we returned the correct value, or just eliminated this method, it mostly works correctly. However, there a few anomalies. The outline text indents prop

Re: NSOutlineView Travails

2013-04-17 Thread Quincey Morris
On Apr 17, 2013, at 10:50 , Gordon Apple wrote: > We are converting tables and outlines to view-based. So far, so good, on > tables. But NSOutlineView has been a pain. First of all, there is no > documentation on this, zero, zip, nada, zilch, in the NSOutlineView > Reference. You have to rely