• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass
      • From: Bill Cheeseman <email@hidden>
References: 
 >How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass (From: Bill Cheeseman <email@hidden>)
 >Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass (From: Quincey Morris <email@hidden>)
 >Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Xcode 6.4 on the Developer download site.
  • Next by Date: Re: Auto-layout annoyance
  • Previous by thread: Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass
  • Next by thread: Re: How to implement NSSplitViewDelegate methods in an NSSplitViewController subclass
  • Index(es):
    • Date
    • Thread