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 <graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/jamiepinkham%40me.com > > This email sent to jamiepink...@me.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com