Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bluehill

macrumors newbie
Original poster
Feb 5, 2011
22
0
I am trying to call a class method of ClassA
Code:
+(void)functionName:(Nsstring*)str
with help of
Code:
NSInvocationOperation *operation1 = [[NSInvocationOperation alloc] 
initWithTarget:instanceOfClass																			 selector:@selector(functionName:)																   object:str];
in ClassB

but it is asking me to create an instance of ClassA.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.