Create application without Dock icon, like Alfred

Discussion in 'Mac Programming' started by Gwendolini, Mar 10, 2015.

  1. Gwendolini macrumors 6502


    Feb 5, 2015
    Is it possible to use Xcode 6.2 to create an application that is invoked by a mouse button or keyboard shortcut with a small window around the mouse pointer (transparent and no typical OS X like window), and that that application has no Dock icon and just a small one in the Menu Bar or maybe even as a System Preference?
    The application does not need to go through the App Store, it is more a personal experiment.
  2. mfram macrumors 65816

    Jan 23, 2010
    San Diego, CA USA
    Just Google for "mac menubar app" and you will find all kind of hits and tutorials. I just made a quick one for another post on these forums. I can post the source if you are interested.
  3. theSeb macrumors 604


    Aug 10, 2010
    Poole, England
    I am not OP, but I am certainly interested. I have never tried this before.
  4. Red Menace macrumors 6502

    Red Menace

    May 29, 2011
    Littleton, Colorado, USA
    In your application's Info.plist, add a LSUIElement key and set it to true - this will make it an agent, with no Dock icon or menu bar.

Share This Page