In a subclass, I\'m overriding a method that is not exposed in the super class. I know that I have the correct signature as it is successfully overriding the superclass imp
One way to go is to create a category of your class in a separate file with the method you are trying to expose
@interface MyClass (ProtectedMethods)
- (void)myMethod;
@end
and on the .m
@implementation MyClass (ProtectedMethods)
- (void)myMethod {
}
@end
Then, import this category from your .m files, and you're good to go. It's not the prettiest thing, but it'll do the trick