Re: Single Instance of a Cocoa Application.
Re: Single Instance of a Cocoa Application.
- Subject: Re: Single Instance of a Cocoa Application.
- From: <email@hidden>
- Date: Fri, 21 Jul 2006 11:28:45 +0530
- Thread-topic: Re: Single Instance of a Cocoa Application.
Hi Chris,
>It's probably easier to register the name of the application with
>NSConnection.
>When another instance of the app is being run, it too will try to
>register, however this should fail (since it already IS registered).
As per your suggestion I was able to achieve a single instance of my
application
All I had to do was register my application name with NSConnection
using registerName.
Thanks a lot for your help.
Regards,
Amrit.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden