Odd NSView display performance
I am adding a custom NSView to my NSWindow's content view. Whenever I go to interact with any subviews of this new NSView (some NSTextFields, an NSMatrix, NSPopUpButton and NSButton), that specific part of the 开发者_如何学Cview seems to disappear and show the subview.
The parts of the view that go missing never return. Does anyone know what would be causing this?
Thanks in advance.
Looks like this is a common problem. I ended up having to add this view as a child window of my application's window.
This link was very useful: http://blog.stuntaz.org/cocoa/2009/11/03/nswindow-overlay.html
精彩评论