\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 + (NSRunLoop *)\b currentRunLoop\b0 Returns the run loop object for the current thread.\
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b addTimer:\b0 (NSTimer *)\i aTimer\i0 Registers the timer \i aTimer\i0 with input filter \i mode\i0 . The run \
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \b forMode:\b0 (NSString *)\i mode\i0 loop causes the timer to fire at its scheduled fire date. Note that timers are removed from modes if they supply \b nil\b0 as their fire date.\
\pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
\
\
\fs28 Running a Run Loop\
\fs16 \
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b acceptInputForMode:\b0 (NSString *)\i mode\i0 Runs the run loop, accepting input from the port\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \b beforeDate:\b0 (NSDate *)\i limitDate\i0 delegates for the mode specified by \i mode\i0 until the time specified by\i limitDate\i0 .\
\s4 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (void)\b run\b0 Runs the run loop in the default mode until there is nothing to do.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b runMode:\b0 (NSString *)\i mode\i0 Runs the run loop, accepting input from filter \i mode\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 \b beforeDate:\b0 (NSDate *)\i limitDate\i0 until \i limitDate\i0 or until the earliest limit date for ports or timers in this mode. Returns NO without starting the run loop if there are no limit dates set for ports and timers (that is, there\'27s nothing to do).\
\s4 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (void)\b runUntilDate:\b0 (NSDate *)\i limitDate\i0 Runs the run loop, accepting input from filter \i mode\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 until \i limitDate\i0 or until there are no limit dates set for ports and timers (that is, there\'27s nothing to do).\