mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28308 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c84840d917
commit
bfc3312586
2 changed files with 7 additions and 2 deletions
|
@ -675,7 +675,8 @@ static inline BOOL timerInvalidated(NSTimer *t)
|
|||
* asynchronously.</p>
|
||||
*
|
||||
* <p>There is one run loop per thread in an application, which
|
||||
* may always be obtained through the <code>+currentRunLoop</code> method,
|
||||
* may always be obtained through the <code>+currentRunLoop</code> method
|
||||
* (you cannot use -init or +new),
|
||||
* however unless you are using the AppKit and the [NSApplication] class, the
|
||||
* run loop will not be started unless you explicitly send it a
|
||||
* <code>-run</code> message.</p>
|
||||
|
|
|
@ -40,12 +40,16 @@
|
|||
static Class NSDate_class;
|
||||
|
||||
/**
|
||||
* An <code>NSTimer</code> provides a way to send a message at some time in
|
||||
* <p>An <code>NSTimer</code> provides a way to send a message at some time in
|
||||
* the future, possibly repeating every time a fixed interval has passed. To
|
||||
* use a timer, you can either create one that will automatically be added to
|
||||
* the run loop in the current thread (using the -addTimer:forMode: method),
|
||||
* or you can create it without adding it then add it to an [NSRunLoop]
|
||||
* explicitly later.
|
||||
* </p>
|
||||
* <p>NB. You may not use -init or +new to create a timer, as the timer must
|
||||
* be properly initialised to send an action after some interval.
|
||||
* </p>
|
||||
*/
|
||||
@implementation NSTimer
|
||||
|
||||
|
|
Loading…
Reference in a new issue