Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ruhi

macrumors member
Original poster
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. 😕 😕

Thanks,
Richa.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.