Re: Implemented -keyDown: in Yosemite NSViewController

2014-08-27 Thread Jerry Krinock
Unfortunately, I must put this issue on indefinite hold because, upon creating a new project to demo the problem, Xcode 6 beta 6 now crashes whenever I drag a Tab View Controller out of the Library into a storyboard and touch it in the Interface Builder. Even after a restart. It is Apple Bug

Re: Implemented -keyDown: in Yosemite NSViewController, but no class gets it

2014-08-27 Thread Jerry Krinock
> On 2014 Aug 27, at 09:36, Ken Thomases wrote: > > I don't think it makes any sense to make the view _controller_ return YES > from -acceptsFirstResponder. You have to make your view accept first > responder. That's the thing being clicked on. -acceptsFirstResponder is > *not* sent up the

Re: Implemented -keyDown: in Yosemite NSViewController, but no class gets it

2014-08-27 Thread Ken Thomases
On Aug 27, 2014, at 11:23 AM, Jerry Krinock wrote: > On 2014 Aug 27, at 09:05, Ken Thomases wrote: > >> And is the view the first responder? Does it return YES from >> -acceptsFirstResponder? > > It doesn’t seem to matter. To answer your question, I put this code into my > view controller:

Re: Implemented -keyDown: in Yosemite NSViewController, but no class gets it

2014-08-27 Thread Jerry Krinock
On 2014 Aug 27, at 09:05, Ken Thomases wrote: > And is the view the first responder? Does it return YES from > -acceptsFirstResponder? It doesn’t seem to matter. To answer your question, I put this code into my view controller: #if ACCEPT - (BOOL)acceptsFirstResponder { return YES ; }

Re: Implemented -keyDown: in Yosemite NSViewController

2014-08-27 Thread Jerry Krinock
On 2014 Aug 27, at 06:56, Michael Babin wrote: > Is the window which contains your view (and view controller) the key window? Thank you, Michael. I think so. My app’s title is showing in the menu bar; and this is its only window. It is frontmost in the z-direction, and the three buttons in

Re: Implemented -keyDown: in Yosemite NSViewController, but no class gets it

2014-08-27 Thread Ken Thomases
On Aug 27, 2014, at 8:56 AM, Michael Babin wrote: > On Aug 26, 2014, at 9:10 PM, Jerry Krinock wrote: > >> I was so excited after watching WWDC Session 212 "Storyboards and >> Controllers on OS X” that I rewrote a little app I was working on to require >> Yosemite. All of the new view contro

Re: Implemented -keyDown: in Yosemite NSViewController, but no class gets it

2014-08-27 Thread Michael Babin
On Aug 26, 2014, at 9:10 PM, Jerry Krinock wrote: > I was so excited after watching WWDC Session 212 "Storyboards and Controllers > on OS X” that I rewrote a little app I was working on to require Yosemite. > All of the new view controller and tab view controller magic works as > advertised,

Implemented -keyDown: in Yosemite NSViewController, but no class gets it

2014-08-26 Thread Jerry Krinock
I was so excited after watching WWDC Session 212 "Storyboards and Controllers on OS X” that I rewrote a little app I was working on to require Yosemite. All of the new view controller and tab view controller magic works as advertised, except that my view controller subclass, supposedly now in t