Objective C: Class Extensions and Protocol Conformation Warnings
- by Ben Reeves
I have a large class, which I have divided into several different class extension files for readability.
@protocol MyProtocol
@required
-(void)required;
@end
@interface MyClass : NSObject <MyProtocol>
@end
@interface MyClass (RequiredExtension)
-(void)required;
@end
Is there a better way to do this, without the compiler warning?
warning: class 'MyClass' does not fully implement the 'MyProtocol' protocol