I'm relative new to OS X development (coming from iOS).
How can I archive a similar window like in the messages app for OS X?
I think I must create a NSWindow subclass and override something? Any idea what?
OS X Yosemite is the deployment target. No need to support older OS.
Ok, I found the solution. You have to create a subclass of
NSWindowController
and in thewindowDidLoad
method, you have to put this code:to make the whole thing work, you have to activate "Full Size Content View" in Interface Builder.