[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer userInfo

From: Richard Frith-Macdonald
Subject: Re: NSTimer userInfo
Date: Mon, 16 Oct 2006 07:36:34 +0100

On 9 Oct 2006, at 21:40, Tamas Mahr wrote:

Dear GNUstep developers,

The documentation of the + (NSTimer*) scheduledTimerWithTimeInterval: (NSTimeInterval)ti target: (id) object selector: (SEL)selector userInfo: (id)info repeats: (BOOL)f; method in the NSTimer class says: "On firing, the target object will be sent a message specified by selector and with the object info as an argument. "

What actually happens is that the argument sent to the target with the selector is the NSTimer object itself instead of the userInfo object. I am not sure if this is a documentation bug or a bug in the code, nevertheless the documentation and the code is inconsistent.

Documentation bug ... thanks for the report.
I fixed it in SVN.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]