• 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: singleton pattern in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: singleton pattern in cocoa


  • Subject: Re: singleton pattern in cocoa
  • From: Dave DeLong <email@hidden>
  • Date: Mon, 14 Sep 2009 10:42:37 -0600

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 (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


References: 
 >singleton pattern in cocoa (From: Manuel Grau <email@hidden>)

  • Prev by Date: Re: singleton pattern in cocoa
  • Next by Date: Re: coding NSNumber in NSArray?
  • Previous by thread: Re: singleton pattern in cocoa
  • Next by thread: Re: singleton pattern in cocoa
  • Index(es):
    • Date
    • Thread