在目标C中以下划线作为属性名称的前缀
// In the header@interface Whatever{
NSString *myStringProperty}@property (nonatomic, copy) NSString *myStringProperty;// In the implementation@synthesize myStringProperty;// In the header@interface Whatever{
NSString *_myStringProperty}@property (nonatomic, copy) NSString *myStringProperty;// In the implementation@synthesize myStringProperty = _myStringProperty;最新情况:
@synthesize myStringProperty = _myStringProperty;