If I add a category method to a class, such as NSXMLNode:
@interface NXSMLNode (mycat)
- (void)myFunc;
@end
Will this category method also be available in subclasses of NSXMLNode, such as NSXMLElement and NSXMLDocument? Or do I have to define and implement the method as a category in each class, leading to code duplication?