I was looking through the Apple documentation and discovered their take on a singleton class that I thought I should share here: static MyGizmoClass *sharedGizmoManager = nil; + (MyGizmoClass*)sharedManager { if (sharedGizmoManager == nil) { sharedGizmoManager = [[super allocWithZone:…
#Singleton
One post with this tag