Primarily I’m looking for a way to create an nstimer scheduledTimerWithTimeInterval that repeats every 3 seconds 10 times then invalidates just as a no-repeating timer would. Is this possible? Ideally an additional selector would fire once the timer invalidates too
Primarily I’m looking for a way to create an nstimer scheduledTimerWithTimeInterval that repeats every
Share
Just keep track of the number of loops and keep a reference to the timer object. Then just invalidate it when you’ve done enough.