• 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: j o a r <email@hidden>
  • Date: Mon, 27 Jun 2005 21:50:55 +0200

Each application has it's own memory space, and that is the scope of your singleton.

j o a r

On 27 jun 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?

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: Re: Why add a nil item to an NSArray ?
  • Next by Date: Re: Multiple singletons
  • Previous by thread: Multiple singletons
  • Next by thread: Re: Multiple singletons
  • Index(es):
    • Date
    • Thread