I think you're looking at categories in this case:
All you have to do is to create a new .h .m pair and in the .h file:
#import MyClass.h
@interface MyClass(Networking)
//method declarations here
@end
and in the .m file:
#import MyClass+Networking.h
@implementation MyClass(Networking)
//method definitions here
@end
And in MyClass.m file - do #import MyClass+Networking.h and you're all set. This way you can extend your class.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…