Monthly Archives: August 2010

Don’t worry, Be happy

This post describes a correction to the Be category when dealing with class clusters. The Be category adds the be method to all objects and allows you to replace code like this: MyObject *obj = [[[MyObject alloc] initWithThing:thing] autorelease]; with code like this: MyObject *obj = [[MyObject be] initWithThing:thing]; This is useful in that it […]