Singleton implementation is something that you see debated back and forth every now and then. People argue about the values over overriding -retain, -release, -autorelease, and so on.

I really like Peter Hosey's analysis (and implementation) that he's posted on his blog:

http://boredzo.org/blog/archives/2009-06-17/doing-it-wrong

Cheers,

Dave

On Sep 10, 2009, at 2:07 PM, Manuel Grau wrote:

Hi all,

As I come from java world, I was trying to implement the singleton pattern, very usual in java...
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to