Re: Class Singleton Instantiation
Re: Class Singleton Instantiation
- Subject: Re: Class Singleton Instantiation
- From: Kiel Gillard <email@hidden>
- Date: Fri, 15 May 2009 12:26:18 +1000
The first sentence of my reply should read "The sample code prevents
the allocation of subsequent instances".
Sorry for the ambiguity.
Kiel
On 15/05/2009, at 11:46 AM, Kiel Gillard wrote:
On 15/05/2009, at 11:32 AM, Eric Hermanson wrote:
Is the above paradigm any better/worse than doing something
simpler, like the following (which is the paradigm I've been using)
The sample code prevents other developers from allocating subsequent
instances.
See <http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/CocoaObjects.html#//apple_ref/doc/uid/TP40002974-CH4-SW32
> for more information.
Kiel
_______________________________________________
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