RE: Newbie question: Timers

2008-07-01 Thread Matthew Youney
Thanks, I will have to investigate further about how exactly to implement this. Again, thanks for your help, Matt -Original Message- From: Daniel Richman [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2008 5:46 PM To: Matthew Youney Cc: Cocoa Subject: Re: Newbie question: Timers Use

Re: Newbie question: Timers

2008-06-30 Thread j o a r
On Jun 30, 2008, at 2:36 PM, Matthew Youney wrote: In the VS environment, there is a “timer” control that can be dropped onto a form, and will generate timer events every X milliseconds. How would I impliment similar functionality in Cocoa, or what would you gurus suggest that I look int

Re: Newbie question: Timers

2008-06-30 Thread Daniel Richman
Use this: NSTimer *myTimer = [NSTimer scheduledTimerWithTimeInterval:1.0 // number of seconds as double target:self // targer selector:@selector(checkTimer:) // selector to call (parameter is the timer) userInfo:nil // I don't use any user info repeats:YES]; // whether the timer repeats or is o

Newbie question: Timers

2008-06-30 Thread Matthew Youney
Hello everyone: I have another question that is based on my Microsoft background (yes I am ashamed). In the VS environment, there is a “timer” control that can be dropped onto a form, and will generate timer events every X milliseconds. How would I impliment similar functionality in Cocoa, or wha