Objective-c 声明私有方法
@interface Controller : NSObject
{
NSString *something;
}
+ (void)thisIsAStaticMethod;
- (void)thisIsAnInstanceMethod;
@end
//声明私有的方法
@interface Controller (Private)
- (void)thisIsAPrivateMethod;
@end
发布时间: 2012-09-08 10:48:07 作者: rapoo
Objective-c 声明私有方法
@interface Controller : NSObject
{
NSString *something;
}
+ (void)thisIsAStaticMethod;
- (void)thisIsAnInstanceMethod;
@end
//声明私有的方法
@interface Controller (Private)
- (void)thisIsAPrivateMethod;
@end