可能重複:
Properties and Instance Variables in Objective-C 2.0
Objective-C Properties with or without instance variablesObjc財產申報
爲什麼有人這樣寫:
@interface MyClass : NSObject {
NSString *parent; // why need write here ?
}
@property (nonatomic,strong) NSString *parent;