当你创建一个属性并且编译器自动合成底层的ivar时,ivar是否具有相同的保留语义具有该属性,还是retain语义只适用于“setter”?
@property (nonatomic, strong) NSObject *strongObject
@property (nonatomic, weak) NSObject *weakObject
_strongObject = [[NSObject alloc] init]; // is this strong?
_weakObject = [[NSObject alloc] init]; // is this weak?