Re: Proper way to create a singleton without @synchronized ?
Re: Proper way to create a singleton without @synchronized ?
- Subject: Re: Proper way to create a singleton without @synchronized ?
- From: Joanna Carter <email@hidden>
- Date: Sun, 17 Apr 2011 20:55:53 +0100
Hi WT
> what happens if you need/want to subclass that class? Then you have to search for and change all the places in your code base that refer to it.
Hmmm, I have a problem with the idea of subclassing singletons. Does the derived instance contain the same data as the base class; so that any reference to the derived singleton is implicitly also a reference to the base singleton?
Joanna
--
Joanna Carter
Carter Consulting
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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