Create a timer that takes your view and function as called arguments. Alternatively, you can use NSInvocation with NSTimer.
eg.
[NSTimer scheduledTimerWithTimeInterval:0.1f target:myView selector:@selector(myMethod) userInfo:nil repeats:YES];
source
share