Display NSWindow as Subview of NSView...

Posted by Nano8Blazex on Stack Overflow See other posts from Stack Overflow or by Nano8Blazex
Published on 2010-05-14T01:11:17Z Indexed on 2010/05/14 1:14 UTC
Read the original article Hit count: 282

Filed under:
|
|
|
|

I have an NSWindow that I want to display as part of another window. It has to be an NSWindow; I don't want to change it to an NSView or anything... I just don't because it involves accessing foreign nib files and the such.

How should I accomplish this if possible? I was thinking along the lines of grabbing the view of the NSWindow and sticking it as the subview of another view in my main window... but I don't think this is possible. Is it?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about osx