help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInvocationOperation error


From: Anindita
Subject: Re: NSInvocationOperation error
Date: Fri, 03 Dec 2010 13:49:37 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

Thanks for your reply.

Actually the main motivation behind using NSInvocationOperation was to create dependent NSOperations and put them in the NSOperationQueue and analyse the output, as part of a programming project.

Is there any other way of achieving this using GNUstep?

On 12/3/2010 1:30 PM, Germán Arias wrote:
Well, in the GNUstep documentation I don't see NSInvocationOperation
class. Then, I suppose this class don't exist on GNUstep.

On jue, 2010-12-02 at 21:36 -0800, aphuk wrote:
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 :

NSInvocationOperation undeclared (first use in this function)

What am I missing here?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]