I am trying to call a class method of ClassA
with help of
in ClassB
but it is asking me to create an instance of ClassA.
Code:
+(void)functionName:(Nsstring*)str
Code:
NSInvocationOperation *operation1 = [[NSInvocationOperation alloc]
initWithTarget:instanceOfClass selector:@selector(functionName:) object:str];
but it is asking me to create an instance of ClassA.