Re: Multiple singletons
Re: Multiple singletons
- Subject: Re: Multiple singletons
- From: Ondra Cada <email@hidden>
- Date: Mon, 27 Jun 2005 23:13:31 +0200
Ken,
On 27.6.2005, at 21:17, Ken Tozier wrote:
I'm designing a singleton class that could potentially be useful in
other applications and was wondering, is the scope of a singleton
system-wide, or only within whichever app(s) that use it? Or put
another way, can a singleton class be used in an application
without stomping on another instance of the same singleton in
another app?
Unless you explicitly make a net-wide singleton with DO, sure :)
(In other words: the complete object network you are working with
belongs to and in encapsulated inside one process.)
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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