As Dave already said, add
LSUIElement YES
in your application Info.plist file. This will save you from the icon and menu bar.
Then, to actually bring the window to the forefront at the appropriate time (for example, when launched through the global keyboard shortcut), you can do something like this:
ProcessSerialNumber psn = {0, kCurrentProcess}; SetFrontProcess(&psn); [someWindow makeKeyAndOrderFront:nil];
source share