I am making an application that the user will have to interact with one window, and when they have this window configured as they want, they switch to another application, then my application will start to do other things that I will define in the method
say for an example program, when the main window has focus, it contains a label that says: "I am focused", and when a person clicks on the desktop or another window / application, then the label will read "I'm not focused."
thanks
cocoa nswindow
Zanok
source share