成员变量应该是 @privateTip 成员变量应该声明为 @private @interface MyClass : NSObject { @private id myInstanceVariable_;}// public accessors, setter takes ownership- (id)myInstanceVariable;- (void)setMyInstanceVariable:(id)theVar;@end