In every application,
there is always written as [window makeKeyAndVisible];
What is mean by makeKey?
In every application,
there is always written as [window makeKeyAndVisible];
What is mean by makeKey?
This means that this is the window that accepts keyboard input. This matches similar nomenclature on Mac OS X.
The key window is the window which will receive user interaction.
You might take a look at this:
This method call performs a critical function. If you omit it then the top level view to the window will not be autoresized however you have set the springs and struts. Took me a while to figure that out: if the in-call status bar resizing is not happening, check to see that the window is marked as key.