Is it safe in Objective-C to write
self.propery = [[SomeClass alloc] init];
instead of
SomeClass *tmp = [[SomeClass alloc] init
The first example leaks unless you provide a custom property setter. You can use:
self.propery = [[[SomeClass alloc] init] autorelease];
Instead.