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: Fritz Anderson <email@hidden>
- Date: Fri, 07 Aug 2015 15:40:05 -0500
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.
— F
On 7 Aug 2015, at 2:33 PM, Bill Cheeseman <email@hidden> wrote:
> I've always been comfortable calling super when it doesn't return a result, or when I am expected to use super's result for some purpose in my override. But it feels very bizarre to be calling a super implementation and doing nothing with whatever result it returns.
_______________________________________________
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