3 #import <UIKit/UIKit.h>
5 #import <Cocoa/Cocoa.h>
9 #include <libkern/OSAtomic.h>
31 BOOL executingCallback;
40 - (id) initWithTimeInterval:(
double)i target:(
id)t selector:(
SEL)s;
42 - (id) initWithTimeInterval:(
double)i;
46 - (void) threadCallback;
54 - (void) stopAndWaitUntilDone;
58 - (void) setInterval:(
double)i;
62 @property (assign,readwrite)
double maxInterval;
Simple class for spawning a thread which executes at a specified interval- simpler and easier to work...
Definition: VVThreadLoop.h:25
double interval()
The interval between executions, in seconds.
Definition: VVThreadLoop.m:218
id targetObj
NOT retained! If there's no valid target obj/sel pair, the instance sill simply call "threadProc" on ...
Definition: VVThreadLoop.h:35
BOOL running()
Whether or not the thread loop is running.
Definition: VVThreadLoop.m:224