I have set up an NSTimer which after one second should perform a instance method called animate
My code looks like this:
NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(animate) userInfo:nil repeats:NO];
[timer fire];
This code is put into a touchesBegan method. The method DOES GET CALLED but not after one second it just immediately gets called. Why is this?
When you call [timer fire] it immediately fires the message to the receiver. You just need to remove that line.