On 22 May 2014, at 12:54, Roland King wrote:
> If you read the documentation for NSObject's
> performSelector:withObject:afterDelay it tells you which method you need to
> use to cancel it again, and it's not NSRunLoop's
> cancelPerformSelector:target:argument.
You are right. It is:
If you read the documentation for NSObject's
performSelector:withObject:afterDelay it tells you which method you need to use
to cancel it again, and it's not NSRunLoop's
cancelPerformSelector:target:argument.
On 22 May, 2014, at 1:34 pm, Gerriet M. Denkmann wrote:
>
> I have this code:
>
>
I have this code:
- (void)speechSynthesizer:(AVSpeechSynthesizer *)synthesizer
didFinishSpeechUtterance:(AVSpeechUtterance *)utterance
{
NSTimeInterval delay = 5;
NSLog(@"%s will resume music in %g sec.",__FUNCTION__, delay );
NSRunLoop *currentRunLoop = [ NSRunLoop curre