Hi, I am new to Objective-C and GNUstep so my question might be a little
basic but please help me out since I am stuck.
We are trying to create an instance of a NSInvocationOperation and put it in
the NSOperationQueue as given below
NSInvocationOperation* putOp = [[[NSInvocationOperation alloc]
initWithTarget:self selector:@selector(put)
object:[NSNumber
numberWithInt:5]] autorelease];
But on compilation, I get the below error :
source/Test.m:5: error: 'NSInvocationOperation' undeclared (first use in
this function)
What am I missing here?
--
View this message in context:
http://old.nabble.com/NSInvocationOperation-error-tp30365267p30365267.html
Sent from the GNUstep - Help mailing list archive at Nabble.com.
_______________________________________________
Help-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnustep