FROM : j o a r
DATE : Mon Jun 30 23:47:35 2008
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 into? What is best?
There is no way to do that in IB, you would have to set up the timer
in code, but that's easy enough - Check the documentation for the
NSTimer class. What are you going to use the timer for? There might be
something else that would be better for you to use in Cocoa.
j o a r
DATE : Mon Jun 30 23:47:35 2008
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 into? What is best?
There is no way to do that in IB, you would have to set up the timer
in code, but that's easy enough - Check the documentation for the
NSTimer class. What are you going to use the timer for? There might be
something else that would be better for you to use in Cocoa.
j o a r
| Related mails | Author | Date |
|---|---|---|
| Matthew Youney | Jun 30, 23:36 | |
| Daniel Richman | Jun 30, 23:46 | |
| j o a r | Jun 30, 23:47 | |
| Matthew Youney | Jul 1, 19:27 |






Cocoa mail archive

