Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac application without window

I've little knowledge in developing Mac window based application. When the app starts up, i don't want to show the window at all. I'm placing icon in status bar and on right clicking it will show options and one option is to see the window. Can some one tell me how to hide the window when the app starts up?

like image 705
Satyam Avatar asked Mar 15 '11 09:03

Satyam


People also ask

How do I show just one window on a Mac?

macOS Catalina or laterHold your pointer over the full-screen button in the upper-left corner of a window. Or click and hold the button. Choose ”Tile Window to Left of Screen” or ”Tile Window to Right of Screen” from the menu. The window then fills that side of the screen.

How do you hide all windows on a Mac?

Command-H: Hide the windows of the front app. To view the front app but hide all other apps, press Option-Command-H. Command-M: Minimize the front window to the Dock. To minimize all windows of the front app, press Option-Command-M.

Why do so many windows open when I start my Mac?

If you still have certain programs opening when you boot up your Mac, it's likely due to launch daemons and agents hidden within your libraries. These files are hidden in places you won't normally look and tell the computer to launch programs independently of regular startup items.


1 Answers

In application xib, select the window object, and you will see "Visible at Launch" in Attributes Inspector.

like image 69
huoxinbird Avatar answered Sep 20 '22 15:09

huoxinbird