• 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: Quincey Morris <email@hidden>
  • Date: Fri, 07 Aug 2015 20:36:03 +0000

On Aug 7, 2015, at 12:33 , Bill Cheeseman <email@hidden> wrote:
>
> But by calling super the way I showed in my original post, I am not making use of any result that might be returned by super's implementation of the method. And how could super's implementation return anything meaningful to my application anyway?

I agree it’s unclear, as it always is when overriding but calling super.

The real question is, who’s in control of the value that the delegate method returns? I think you used ‘canCollapse…’ as an example, so how is it really determined whether collapsing is allowed? If the superclass is deciding, you should return its value.

_______________________________________________

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


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: Xcode 6.4 on the Developer download site.
  • 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