What are those little Xcode tips & tricks you wish you knew about 2 years ago? - by schwa With a huge influx of newbies to Xcode I'm sure there are lots of Xcode tips and tricks to be shared. What are yours? Read the article
What does your Objective-C singleton look like? - by schwa Mine is merely (or a close variant thereof): static MyClass *gInstance = NULL; + (MyClass *)instance { @synchronized(self) { if (gInstance == NULL) gInstance = [[self alloc] init]; } return(gInstance); } Read the article