• 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: simple event question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >simple event question (From: Eric Cole <email@hidden>)

  • Prev by Date: Re: drawing into NSBitmapImageRep [SOLVED]
  • Next by Date: Re: mysterious NSOutlineView crashing
  • Previous by thread: simple event question
  • Next by thread: Weirdness on window redraw
  • Index(es):
    • Date
    • Thread