NSWindowController window?

Posted by Ilija Tovilo on Stack Overflow See other posts from Stack Overflow or by Ilija Tovilo
Published on 2012-04-08T14:47:07Z Indexed on 2012/04/11 11:29 UTC
Read the original article Hit count: 260

I have a menu-bar based application, which displays a window, when the icon is clicked. It all works fine on Mac OS X Lion, but for some reason, an error occurs on Snow Leopard an sooner versions of Mac OS X. Anytime [TheWindowController window] is called the method stops, but the app keeps running. Because of this, I don't think that the window is just nil, it's corrupt, in some way.

I have no Idea why this happens, and like I said, it only happens in Mac OS X Snow Leopard. Btw. I use ARC, if that matters at all.

Thank you!

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about window