title: What this error is "+[NSTimer scheduledTimerWithInterval:target:selector:userInfo:repeats:]: unrecognized selector sent to class 0x1c864a0' "?
body: <p>I am writing a simple code that is using NSTimer, but getting error as followed</p>
  <p>&quot;+[NSTimer scheduledTimerWithInterval:target:selector:userInfo:repeats:]: unrecognized selector sent to class 0x1c864a0'&quot;</p>
  <p>my Code is</p>
  <pre><code>-(void)myTimerMethod {
  
      NSLog(@&quot;myTimerMethod is Called&quot;);
      
    myTimer = [NSTimer scheduledTimerWithInterval: 1.0 target:self selector:@selector(targetMethod:) userInfo:nil repeats: YES];
  }
  
  
  -(void) targetMethod:(NSTimer*) theTimer {
      NSLog(@&quot;Me is here at 1 minute delay&quot;);
  }
  </code></pre>
  <p>and I am making object of of Timer class in my appDelegate.m like as following</p>
  <pre><code>Timer *myTimer = [[Timer alloc] init];
  [myTimer myTimerMethod]; 
  </code></pre>
  <p>What is the problem in it?</p>