Re: Class Singleton Instantiation
Re: Class Singleton Instantiation
- Subject: Re: Class Singleton Instantiation
- From: Kiel Gillard <email@hidden>
- Date: Fri, 15 May 2009 11:46:36 +1000
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