Re: How to ensure one instance running per session?
Re: How to ensure one instance running per session?
- Subject: Re: How to ensure one instance running per session?
- From: Andrew Farmer <email@hidden>
- Date: Thu, 15 Feb 2007 19:25:01 -0800
On 15 Feb 07, at 18:38, jerrychang2000 wrote:
... So now, if I want to
support fast user switching, and have my application running only one
instance for each session, what is the proper way to do it in
cocoa? Can
someone please help me out?
The OS X user environment won't launch multiple instances of a single
application - double-clicking an application that's already open will
activate the existing instance rather than launching a new one.
(The exception is if the user creates a duplicate copy of the
application, or launches the binary manually from the command line.
If they go to the effort of doing that, though, it's a fair bet they
know what they're getting into, or at least won't be too surprised if
things break, if they do.)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden