• 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: Re: Timers in a Foundation Tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Timers in a Foundation Tool


  • Subject: Re: Re: Timers in a Foundation Tool
  • From: <email@hidden>
  • Date: Sat, 5 Jul 2003 6:02:32 -0400

> For the timer action selector, you pass a function
pointer. It is
> important to realize that functions != methods.
Selectors are
> associated with a class or an object, and timers
must have a target.

However, you can simulate a function timer
(without even the need for an NSRunLoop) by
using pthreads and sleep(). But then you can
possibly introduce threading issues (it's good for
small stuff though).
_______________________________________________
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.

  • Prev by Date: Big Binary Files in PB
  • Next by Date: Re: awakeFromNib and windowWillLoad : basic question
  • Previous by thread: Re: Timers in a Foundation Tool
  • Next by thread: deployment build style fails, development okay
  • Index(es):
    • Date
    • Thread