Re: NSOutlineView Travails
Re: NSOutlineView Travails
- Subject: Re: NSOutlineView Travails
- From: Corbin Dunn <email@hidden>
- Date: Thu, 02 May 2013 14:55:29 -0700
On Apr 21, 2013, at 11:51 AM, Gordon Apple <email@hidden> 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 NSTableViews, but so far does not work at all with NSOutlineView.
> We had hoped this would not be a problem because NSOutlineView is a subclass
> of NSTableView. Our theory is that because the presence of turn-down
> buttons in the outline view, there must be an additional intervening view
> that handle this and related layout issues within the cell. Has anyone
> successfully used a hoverView with NSOutlineView?
No, there isn't any additional intervening of the views. Visually, the view based NSOutlineView is a super-thin wrapper around NSTableView to add indentation and a disclosure triangle. If it works in NSTableView, it will work in NSotulineView, and something else is likely wrong.
Things that would be useful to know:
1. How you are trying to show a popover. (i.e.: relevant code)
2. When you are doing it, and when is it not happening
>
> BTW, a word to the wise. Bindings to arrayControllers through a
> viewController¹s representedObject is still problematic. We have filed bug
> reports on this in the past (confirmed bug).
What is the radar you logged for this?
NSTableView and NSOutlineView doesn't use a viewController.
corbin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden