Re: NSTimer preventing sleep?
Re: NSTimer preventing sleep?
- Subject: Re: NSTimer preventing sleep?
- From: "Hamish Allan" <email@hidden>
- Date: Thu, 24 Jan 2008 21:02:12 +0000
On Jan 24, 2008 7:36 PM, Jacob Bandes-Storch <email@hidden> wrote:
> I have to load images from disk each time the timer is called. I
> suppose I could try to load them all into memory before starting the
> timer... But that would hog resources... What other options do I have?
Pre-load n of them, where n = ceil(system sleep timer interval / your
timer interval). Do this each time you detect activity.
Hamish
_______________________________________________
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