1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Two .app executables in same cocoa application

Discussion in 'Mac Programming' started by ruhi, Jul 30, 2009.

  1. macrumors member

    #1
    Hello All,

    I m writing a cocoa application.

    How can i add two separate applications in same cocoa project. i understood only this part that i need to add one more target. but what next?

    Another problem is, when i am done with two targets ..I want tht my first target Application should run as agent that is with no menu bar .

    This application has a button , on clicking this button i want to run my another target's code or its main() which should have MainMenu.nib visible as its not running as agent.

    What i should do..
    - Do i create two NSApplication instance
    -Do i create two bundles in same project
    -Do i create separate MainMenu.nib for both targets.

    Please Help. :confused: :confused:

    Thanks,
    Richa.
     

Share This Page