• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multiple singletons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Multiple singletons (From: Ken Tozier <email@hidden>)

  • Prev by Date: NSApp with CLI access
  • Next by Date: Re: Multiple singletons
  • Previous by thread: Re: Multiple singletons
  • Next by thread: Re: Multiple singletons
  • Index(es):
    • Date
    • Thread