Archives by date
You are browsing the site archives by date.
By Vladimir Mitrovic on December 17, 2010
There are already numerous articles describing different approaches to using singletons in Objective-C. All aproaches have their upsides and downsides, and I won’t get into that discussion here. Here’s what I wanted from my singleton implementation: It has to be in one class, which every class wanting to be a singleton must subclass, and by […]