Iphone 如何区分objective-c中的私有成员变量?
对于私人方法 我可以用Iphone 如何区分objective-c中的私有成员变量?,iphone,objective-c,private,member,Iphone,Objective C,Private,Member,对于私人方法 我可以用 @interface MyClass(PrivateMethods) - (void) _foo; @end 如何在目标c中声明私有成员变量? 你可以按如下方式申报 @private //variable; 看看这个问题。 @private //variable;
@interface MyClass(PrivateMethods)
- (void) _foo;
@end
如何在目标c中声明私有成员变量?
你可以按如下方式申报
@private //variable;
看看这个问题。
@private //variable;