strange problem with performSelector:
strange problem with performSelector:
- Subject: strange problem with performSelector:
- From: email@hidden
- Date: Thu, 31 Jan 2002 17:20:29 -0700
Hello all,
I meet a strange problem. I have a method in myController class which
derive from NSObject
-(void)nop
{
//do nothing;
}
If I use
[self performSelector:@selector(nop:) withObject:nil afterDelay:5];
or [self performSelector:@selector(nop:) withObject:nil];
There will be error message:-[myController nop:]: selector not
recognized.
But if I use [self nop]; There's no error. I also try other methods in
myController class. I got same problem. I'm really confused why it
happened.
Thanks very much if anybody can help me out!
Fei