I am making an application in which: when user selects display menu option -> the window is displayed over whole screen and
I have a document based application and I am trying to lock the aspect ratio of the document\'s window. The content of the document is a custom view which I can easily set an aspect ratio. However, wh
I\'m trying to replicate the modal behavior of a sheet in Cocoa without actually using a sheet. That is, attaching a borderless child window to the main window and have the child window be the only re
Per protocol ref, windowWillReturnFieldEditor should be called for any text-displaying object when it needs a field editor. Indeed, my window delegate receives a call to this meth开发者_开发问答od for
I managed to get list of windows on the desktop with CGWindowListCopyWindowInfo, but the next time is to try to get the properties of the window, like the pro开发者_C百科gram name, title, and other pr
I\'ve been struggling with the following leak for a while now. I\'ve narrowed it down through Instruments to the following block of code:
I want to close my application when the last main window closes. I cannot use applicationShouldTerminateAfterLastWindowClosed: for the following reasons:
I am about to tackle my first Mac OSX project after developing for iOS. In my iOS applications, it is clear to me the whole NavigationViewController->MyViewController->MyViews paradigm.
Is it possible to 开发者_运维百科pass mouse events through an NSWindow to whatever is behind it (even if it is a window from another application)?
I have an instance of NSWindow that I resize programatically (with setFrame). At its creation, it has a default size of 50x50. I then call setFrame to resize it to 350x450: everything is fine, I can d