Hi, I have a protocol say
@protocol MyProtocol
-(void)mload
@end
with a method mload
, I also have ClassA which has implemented that protocol method ie mload.
@implementation ClassA
-(void)mload {
NSLog(@"ClassA-mload");
}
@end
Now I need to call that method in another class say ClassB using an instance of ClassA. How to do that?