[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: performSelector: withObject: withObject:
From: |
Adam Fedor |
Subject: |
Re: performSelector: withObject: withObject: |
Date: |
Tue, 31 May 2005 11:39:33 -0600 |
On May 31, 2005, at 7:22 PM, Keeron Ögren wrote:
Hello,
I hope this is the right list for this question - I trying to learn
how to develop under GNUstep.
Well - new to Objective-C I run into a problem - I get a error when
trying to use selectors. Not when
using NSObject method performSelector: withObject: for one argument of
data but when using
performSelector: withObject: withObject. I get error:
obj/myApp: Uncaught exception NSInvalidArgumentException, reason: Can
not determine type information for +[Tester command1:]
[snip]
+(id)test:(NSData*)myData extra:(NSString*)myText
{
SEL address@hidden(commandToRun:);
[Tester performSelector:commandSelector withObject:myData
withObject:myText];
return nil;
}
I think you want
@selector(commandToRun:extra:)
That's the full method name.