【发布时间】:2011-09-13 03:25:26
【问题描述】:
可能重复:
Prefixing property names with an underscore in Objective C
这里是 iPhone 应用开发初学者:
在.h中
@property (nonatomic, retain) IBOutlet UILabel *detailDescriptionLabel;
在.m
@synthesize detailDescriptionLabel = _detailDescriptionLabel;
习惯了
@synthesize detailDescriptionLabel;
= _ 让我失望了,这是在做什么?
【问题讨论】:
-
iOS 5 处于保密协议下;编辑为不违反。
标签: iphone objective-c xcode