任何人都可以告诉哪一个是以下方法中最好的方法吗?
@implementation Person
@synthesize name;
- (void)dealloc { [self.name release]; [super dealloc]; }
@end
@implementation Person
@synthesize name;
- (void)dealloc { [name release]; [super dealloc]; }
@end
@implementation Person
@synthesize name;
- (void)dealloc { [name release]; name = nil;[super dealloc]; }
@end