Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass
Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass
- Subject: Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 08 Aug 2015 09:06:53 -0400
I think you're right on both counts.
I will post this weekend about my solution to the other problem I posted about -- how to make collapse and uncollapse work both from a toggle button and by double-clicking or dragging the divider. It turns out that the frameworks use two different techniques for the two different scenarios, and that fact is not documented in the release notes, the reference document, or the header comments. In fact, the header comments for NSSplitViewItem (in NSSplitViewController.h) imply the opposite, falsely.
--
Bill Cheeseman - email@hidden
> On Aug 7, 2015, at 4:40 PM, Fritz Anderson <email@hidden> wrote:
>
> Speculation: This may be like the -window property of NSWindowController. Accessing it is the recommended way to force the controller to instantiate the window, even if you don’t care about the result.
>
> In this case, _you_ may not care what super’s NSSplitViewDelegate methods do, but NSSplitViewController needs to hear about the events they represent.
_______________________________________________
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