You cannot change the NSWindow internal coordinate system. The closest you can get is to flip the view as content.
Most likely, you really do not need inverted content or a window. What are you actually trying to accomplish by flipping the coordinate system?
I don’t know how I could NSWindow do this view of the contents of "MyFlippedSubclassedNSView"
Do it. Create an instance of MyFlippedSubclassedNSView and set it as the content view.
It is even easier to do this in IB: select a view of the contents of the window, click ⌘6 (Identity) and set the view class to MyFlippedSubclassedNSView.
source
share