Quantcast
Viewing latest article 22
Browse Latest Browse All 37

Repeating self performSelector

I was just wandering If there is a simplier method to repeat the codes below for 20 seconds. If there is, how?

[self performSelector:@selector( move1) withObject:nil afterDelay:0.0];[self performSelector:@selector( move2) withObject:nil afterDelay:0.2];[self performSelector:@selector( move3) withObject:nil afterDelay:0.4];[self performSelector:@selector( move1) withObject:nil afterDelay:0.8];[self performSelector:@selector( move2) withObject:nil afterDelay:0.10];[self performSelector:@selector( move3) withObject:nil afterDelay:0.12];

Viewing latest article 22
Browse Latest Browse All 37

Trending Articles