Re: GetNumEventsInQueue() for Cocoa

2016-08-21 Thread Graham Cox
> On 21 Aug 2016, at 3:59 AM, Andreas Falkenhahn wrote: > > Longer story: > > Yes, I know, my app isn't doing things the Cocoa way but that's not possible > because it's a multi-platform app written in C and I need to make the Cocoa > backend > fit into this fixed, abstracted multi-platform de

Re: uitabbar translucency and hiding

2016-08-21 Thread Roland King
> > Maybe there’s a sanctioned way of moving a child view controller to a > different parent view controller (so, move the view controller, not the > view), but I’m in over my head at this point. > I haven’t read the whole thread, however to this particular comment, there is a sanctioned way

Re: uitabbar translucency and hiding

2016-08-21 Thread Torsten Curdt
> > > Well, you can use a plain UIViewController as the root controller, and > make the UITabBarController a child of that. But I don’t think that helps > if there’s a sub-hierarchy of controllers under the tab bar controllers > that isn’t easy to recreate when you do a segue. > Yeah - I don't thi

Re: uitabbar translucency and hiding

2016-08-21 Thread Quincey Morris
On Aug 21, 2016, at 13:15 , Torsten Curdt wrote: > > Wrap the root controller (of UIWindow - which is my UITabBarController)? Well, you can use a plain UIViewController as the root controller, and make the UITabBarController a child of that. But I don’t think that helps if there’s a sub-hierar

Re: uitabbar translucency and hiding

2016-08-21 Thread Torsten Curdt
On Sun, Aug 21, 2016 at 9:56 PM, Quincey Morris < quinceymor...@rivergatesoftware.com> wrote: > On Aug 21, 2016, at 12:47 , Torsten Curdt wrote: > > > Ideally I would present a modal controller > > > Is there a solution where you segue from the tab view controller to a > non-tab-view controller w

Re: uitabbar translucency and hiding

2016-08-21 Thread Quincey Morris
On Aug 21, 2016, at 12:47 , Torsten Curdt wrote: > > Ideally I would present a modal controller Is there a solution where you segue from the tab view controller to a non-tab-view controller which has an identical view, aside from being a bit taller? You might have to embed the tab view control

Re: uitabbar translucency and hiding

2016-08-21 Thread Torsten Curdt
> > I’m no expert in iOS view controller behavior, but since no one has jumped > in, I’ll contribute how I understand it. > Thanks for jumping in here, Quincey. Hiding the tab does NOT seem like a reasonable way to approach this. > According to the UITabBarController documentation, “You should n

Re: uitabbar translucency and hiding

2016-08-21 Thread Quincey Morris
On Aug 20, 2016, at 16:29 , Torsten Curdt wrote: > > One would think this would be enough: > > if let tabBar = self.tabBarController?.tabBar { > tabBar.hidden = !visible > } I’m no expert in iOS view controller behavior, but since no one has jumped in, I’ll contribute how I understand it

Re: NSResizableWindowMask for borderless windows

2016-08-21 Thread Ken Thomases
On Aug 21, 2016, at 6:36 AM, Andreas Falkenhahn wrote: > > There seems to be some conflicting behaviour in OS X versions concerning what > happens when combining NSBorderlessWindowMask and NSResizableWindowMask: > > - on my 10.6 system, setting NSResizableWindowMask seems to override > NSBorder

NSResizableWindowMask for borderless windows

2016-08-21 Thread Andreas Falkenhahn
There seems to be some conflicting behaviour in OS X versions concerning what happens when combining NSBorderlessWindowMask and NSResizableWindowMask: - on my 10.6 system, setting NSResizableWindowMask seems to override NSBorderlessWindowMask and make the window a bordered one even though NSBor