What to do with a NSTimer that has been invalidated ?
What to do with a NSTimer that has been invalidated ?
- Subject: What to do with a NSTimer that has been invalidated ?
- From: Jérome Foucher <email@hidden>
- Date: Mon, 7 Apr 2003 11:28:16 +0200
Hi all,
I'm looking for a way to stop and later resume a NSTimer that fires
periodically.
If I call [timer invalidate], how can I "validate" it again ?
If I call again :
[[NSRunLoop currentRunLoop] addTimer:timer
forMode:NSDefaultRunLoopMode];
will it duplicate my timer (or its reference) ?
Thanks
Jerome
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.