• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: nstimer not firing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nstimer not firing?


  • Subject: Re: nstimer not firing?
  • From: Christopher Hickman <email@hidden>
  • Date: Tue, 06 Sep 2005 20:59:19 -0400

Other than having NULL instead of nil and TRUE instead of YES, this should work.  Note also that the run loop retains the timer, so unless you need to message it outside of your updateMess: method, you don't need to keep it.

On Tuesday, September 06, 2005, at 07:10PM, Luc Vandal <email@hidden> wrote:

>Hi,
>
>I have a timer that I set in awakeFromNib but it's never firing:
>
>- (void)awakeFromNib
>{
>     m_tUpdate = [[NSTimer scheduledTimerWithTimeInterval:(0.5)
>target:self selector:@selector(updateMess:) userInfo:NULL
>repeats:TRUE] retain];
>}
>
>- (void)updateMess:(NSTimer*)t
>{
>     ...
>}
>
>
>
>Am I doing something wrong?
>
>Luc
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Cocoa-dev mailing list      (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>
>This email sent to email@hidden
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: nstimer not firing?
      • From: Luc Vandal <email@hidden>
References: 
 >nstimer not firing? (From: Luc Vandal <email@hidden>)

  • Prev by Date: Arrange in Front / Bring All to Front menu items
  • Next by Date: mousedown in a view
  • Previous by thread: nstimer not firing?
  • Next by thread: Re: nstimer not firing?
  • Index(es):
    • Date
    • Thread