How can I break from a method prematurely that's being called by NSTimer
- by jammur
Basically I'm writing a metronome app, but I'm using a sound file that, depending on the BPM, might not be finished playing when the "play" method is called again. For example, if the sound file is 0.5 seconds long, but the BPM is 200, the "play" method needs to be called every 0.3 seconds.
I'm not overly familiar with NSTimer, but it appears that…