Re: NSOutlineView Travails
Re: NSOutlineView Travails
- Subject: Re: NSOutlineView Travails
- From: Corbin Dunn <email@hidden>
- Date: Thu, 02 May 2013 16:47:18 -0700
On May 2, 2013, at 3:44 PM, Gordon Apple <email@hidden> 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 appears at the edge of the outline/table view row.
>
> I filed a request to document the view-based methods for NSOutlineView.
>
> Our outlines and tables are contained in view nibs using view controllers. For the tables, the array controllers are chained in the view-nib containing the tables-view nibs, so each table is bound to an array controller outside its own nib. Binding it through the view controller’s representedObject (set to the appropriate array controller) doesn’t work, so we just bound them directly in the master view-nib’s view controller code.
>
> In our own code, the customRowView proved deadly. We are currently engaged in a TSI to try to resolve this and the other issues.
>
> BTW, DTS asked for a complete project. We were going to send in our project code, until we went back and read the Apple, Inc. Developer Agreement. Not only is there no NDA or intellectual property protection for developers, it explicitly (essentially) states that, once you send it in, they can do anything they darn well want to with it. So we are now trying to reproduce a project with only that slice of code in it. Beware! As someone who is very experienced with the patent process, I can tell you that if you have anything patentable in your code, the simple act of sending it to DTS (with no NDA) can be construed as a disclosure, and can form a statuary bar to you ever getting a patent on it.
I'm not really the right person to be talking to about these issues; if you have problems with the DTS service agreement, please contact DTS about it.
However, it is hard for DTS (and people here on the forums/group) to help unless there is enough information. Frequently, that will entail looking at your project, or, even more ideally, isolate your problem to a test case that reproduces the issue; then, you don't have to send your entire project. Often times, I find that people discover the answer to their problem when trying to isolate it.
corbin
>
> “You agree that when requesting and receiving TECHNICAL SUPPORT FROM DTS SeRVICES, you will not provide Apple with any INFORMATION, including that incorporated in your software, that is confidential to you or any third party. YOU AGREE THAT Any notice, legend, or label to the contrary contained in any SUCH materials provided by you to Apple shall be without effect. Apple shall be free to use all information it receives from you in any manner it deems appropriate, subject to any applicable patents or copyrights.”
>
>
> On 5/2/13 4:55 PM, "Corbin Dunn" <email@hidden> wrote:
>
>>
>> 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