可能重复:
在Objective C中使用下划线前缀属性名 iPhone应用程序开发入门者:
在.h文件中:
在Objective C中使用下划线前缀属性名 iPhone应用程序开发入门者:
在.h文件中:
@property (nonatomic, retain) IBOutlet UILabel *detailDescriptionLabel;
in .m
@synthesize detailDescriptionLabel = _detailDescriptionLabel;
我习惯于看到
@synthesize detailDescriptionLabel;
= _
这个让我困惑,它是在做什么?