• 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: To thread or not to thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To thread or not to thread?


  • Subject: Re: To thread or not to thread?
  • From: Jeremy Hubbell <email@hidden>
  • Date: Tue, 31 Jan 2006 08:44:57 +0900

The timer would fire at regular intervals, but the colors generated each time would be random. Actually, I'll need to tween between three different colors using different patterns based on a user selection (but that's another thread).

On 2006/01/31, at 8:39, Dado Colussi wrote:

Andrew Thompson wrote:
I have a simple function that randomly generates color values that

Not to thread.

How about using an NSTimer to fire randomly? Set the first expiration
I'm curious, why have it fire randomly?


I though the original poster wanted it that way. Anyway, the main issue was whether to thread or not to thread and my aim was to suggest timers. It's no big deal to make the timer interval fixed or random.

Dado


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: To thread or not to thread?
      • From: email@hidden
References: 
 >To thread or not to thread? (From: Jeremy Hubbell <email@hidden>)
 >Re: To thread or not to thread? (From: Dado Colussi <email@hidden>)
 >Re: To thread or not to thread? (From: Andrew Thompson <email@hidden>)
 >Re: To thread or not to thread? (From: Dado Colussi <email@hidden>)

  • Prev by Date: Re: To thread or not to thread?
  • Next by Date: Re: xcodes deployment
  • Previous by thread: Re: To thread or not to thread?
  • Next by thread: Re: To thread or not to thread?
  • Index(es):
    • Date
    • Thread