• 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: -[NSTabView mouseDown:] blows stack in Yosemite SDK
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSTabView mouseDown:] blows stack in Yosemite SDK


  • Subject: Re: -[NSTabView mouseDown:] blows stack in Yosemite SDK
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 29 Sep 2014 10:16:17 -0700

> On 2014 Sep 28, at 22:06, Kyle Sluder <email@hidden> wrote:
>
> Do you have a cycle in your nextResponder chain? Remember than NSViewController now inserts itself into the responder chain on 10.10.

YES!  That explains all of the forwardMethod() madness.  My subclass of NSViewController, which I use for all of the tab views in this window, had inserted itself into the responder chain in -awakeFromNib: like this

[self setNextResponder:[[self windowController] nextResponder]] ;
[[self windowController] setNextResponder:self] ;

I deleted those two lines, rebuilt, and now the app works.

Thank you for the best Monday morning I can remember, Kyle :)

Well, I should probably still figure out why I needed that responder-chain insertion so I can re-test.  As usual, I can never find the AppKit Release Notes when I want them.


_______________________________________________

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: 
 >-[NSTabView mouseDown:] blows stack in Yosemite SDK (From: Jerry Krinock <email@hidden>)
 >Re: -[NSTabView mouseDown:] blows stack in Yosemite SDK (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Automatic data migration across two revisions
  • Next by Date: Re: [SOLVED] NSOutlineView not lazy when expanding items
  • Previous by thread: Re: -[NSTabView mouseDown:] blows stack in Yosemite SDK
  • Next by thread: Automatic data migration across two revisions
  • Index(es):
    • Date
    • Thread