以下两种分配和初始化对象的方法有什么区别?
AController *tempAController = [[AController alloc] init];
self.aController = tempAController;
[tempAController release];
和
self.aController= [[AController alloc] init];
Most of the apple example use the first method. Why would you allocate, init 和 object 和 then release immediately?