Re: -[NSWindow makeFirstResponder:] error when NSDrawer is involved

2017-03-25 Thread Bill Cheeseman
> On Mar 24, 2017, at 3:53 PM, Quincey Morris > wrote: > > On Mar 24, 2017, at 11:04 , Bill Cheeseman > wrote: >> >> Any suggestions? > > No good ones, but you keep referring to the “main” window. Is it possible > that the drawer window is initially the key w

Re: -[NSWindow makeFirstResponder:] error when NSDrawer is involved

2017-03-25 Thread kata
> 2017/03/25 3:04、Bill Cheeseman wrotes: > > Has anybody else encountered this issue? Any suggestions? I got the same error message even the drawer is hidden. I set my custom control as the first responder in a dialog window just after loading xib. I could not rid of this message, then red

Official sidebar?

2017-03-25 Thread Daryle Walker
Testing out my app. Finally noticed the new "Show Tab Bar" View menu item. The menu also handles the tool bar, full screen, and a sidebar. Never noticed that last one before. What do I have to do in my storyboard and/or window controller to support that? (Of course, I don't need one right now.

Click-through

2017-03-25 Thread Daryle Walker
Is there any way to disable click through? On a toolbar control or otherwise. Through an Interface Builder setting or otherwise. Sent from my iPhone ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Click-through

2017-03-25 Thread Markus Spoettl
On 25/03/17 18:54, Daryle Walker wrote: Is there any way to disable click through? On a toolbar control or otherwise. Through an Interface Builder setting or otherwise. Depends on your needs, really but programmatically if you have a custom view class you can overwrite -mouseDown: and -mouseU

Re: Click-through

2017-03-25 Thread Quincey Morris
On Mar 25, 2017, at 11:18 , Markus Spoettl wrote: > > you can overwrite -mouseDown: and -mouseUp: and not call super. Actually, that’s probably not going to work too well. The easiest way is to subclass the relevant controls and override “acceptsFirstMouse” to return false. However, either app

Re: Official sidebar?

2017-03-25 Thread Saagar Jha
Nothing, if I remember correctly. Cocoa should handle window tabs for you. Saagar Jha > On Mar 25, 2017, at 07:49, Daryle Walker wrote: > > Testing out my app. Finally noticed the new "Show Tab Bar" View menu item. > The menu also handles the tool bar, full screen, and a sidebar. Never noticed

Re: Official sidebar?

2017-03-25 Thread Jens Alfke
> On Mar 25, 2017, at 4:40 PM, Saagar Jha wrote: > > Nothing, if I remember correctly. Cocoa should handle window tabs for you. Isn’t there an API to manage them? For example, I use the tab bar in SourceTree to group multiple repositories into a single window, but every time I relaunch the a