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:
Richard Frith-MacDonald 2009-05-27 11:03:42 +00:00
parent c84840d917
commit bfc3312586
2 changed files with 7 additions and 2 deletions

View file

@ -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>

View file

@ -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