I’d like to build a cocoa app and would like to have it opened on request. For better understanding you should look at evernote. It has helper app that sits in status bar and has it’s own status item.
Evernote’s application bundle shows EvernoteHelper executable. How would i go about creating such executable in XCode project? Should it be separate target? But doesn’t separate target for an executable creates separate application bunlde?
I saw some examples on the internet for creating app helpers that help relaunch the app. But these helper apps have nothing more than compiled code. I’m curious about extra resources like nib files for helper apps that include menus and/or images.
UPDATE regarding the comment
I’d like the helper app to be sitting in systembar and when it’s being clicked, my app should be launched (it wouldn’t be running, the helper app would work as a launcher for the main app).
I’m curious how to copy helper executable to main app’s bundle
You need two applications: One, the actual application that the user will work with; the other, a faceless background application to provide the status item and launch the actual application.
You’ll probably make the FBA a resource of the other application, and have preferences in the non-FBA controlling whether the FBA is running and whether it runs on login.