• 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: Cocoa-dev Digest, Vol 8, Issue 783
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 8, Issue 783


  • Subject: Re: Cocoa-dev Digest, Vol 8, Issue 783
  • From: Jamie Pinkham <email@hidden>
  • Date: Thu, 29 Sep 2011 21:42:25 -0400

Fair point, Graham.

I'm always wary of timers because careless use of them can cause problems like retain cycles.

Sent from my iPhone

On Sep 29, 2011, at 9:35 PM, Graham Cox <email@hidden> wrote:

>
> On 30/09/2011, at 11:25 AM, Gordon Apple wrote:
>
>> Much easier than trying to manage timers.
>
>
> I disagree. Timers are not rocket science, and they are optimised (one assumes) not to consume more CPU time than they truly need. Your idea is more complicated and is polling, meaning that you are consuming more power and resources than necessary. Do you wake up every minute during the night to check whether it's time to get up? No, so you shouldn't program a computer the same way.
>
> --Graham
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Cocoa-dev Digest, Vol 8, Issue 783 (From: Gordon Apple <email@hidden>)
 >Re: Cocoa-dev Digest, Vol 8, Issue 783 (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 8, Issue 783
  • Next by Date: Re: delegate of an NWindowController's window
  • Previous by thread: Re: Cocoa-dev Digest, Vol 8, Issue 783
  • Next by thread: iTunes problem related to free space on device (iPad, iPod ) when transferring data to device.
  • Index(es):
    • Date
    • Thread