构造函数传值时,
必须加self关键字,才是表示访问retain的方法,同理销毁时也得用self
@property (retain, nonatomic) UITextView *output;
self.output = pOutput;
- (void)dealloc
{
[super dealloc];
self.output = nil;
}
构造函数传值时,
必须加self关键字,才是表示访问retain的方法,同理销毁时也得用self
@property (retain, nonatomic) UITextView *output;
self.output = pOutput;
- (void)dealloc
{
[super dealloc];
self.output = nil;
}