• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
strange problem with performSelector:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: strange problem with performSelector:
      • From: Greg Titus <email@hidden>
  • Prev by Date: Re: reading in text files
  • Next by Date: Re: strange problem with performSelector:
  • Previous by thread: Modification dates and AFP
  • Next by thread: Re: strange problem with performSelector:
  • Index(es):
    • Date
    • Thread