Re: WindowController


Quincey Morris
 

On Jul 17, 2017, at 11:27 , Gerriet M. Denkmann <g@...> wrote:

The first time prefController is of course nil.
The next time it is not.

I would suggest that you look in the debugger at whether the window controller *has* a window the second time around. (Note that the “window” property automatically loads the window if necessary, which means that looking can sometimes affect what you’re looking at, though I suspect not in this case.)

If it has a window, try looking at its size and frame, whether it is hidden, etc.

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.