Re: simple event question
Re: simple event question
- Subject: Re: simple event question
- From: Shawn Erickson <email@hidden>
- Date: Tue, 18 Feb 2003 21:17:44 -0800
On Tuesday, February 18, 2003, at 09:00 PM, Eric Cole wrote:
I have an application that consists of one class, an NSView
derivative. I would like to receive periodic events in this view.
After starting periodic events, how do you receive them?
#define kPeriod 1.0
[NSEvent startPeriodicEventsAfterDelay:kPeriod withPeriod:kPeriod];
What are planning to use the periodic events for?
Have you looked at using NSTimer, it most likely does what you want.
-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.