On Monday, January 25, 2010, yuqi chang <szu...@gmail.com> wrote: > I have heard that there are some apps that hook into the Apple processes > that will run in the background (namely, hooking into the Apple clock timer > API)
If you want to time activities while your app isn't running (like a GPS or time tracking app might) just store a starting timestamp somewhere. When the user starts the app up simply check for an object that has been started but not stopped, calculate the difference in time and start a timer with that offset (as though it has been running the whole time). You can't however have an alarm go off while your app isn't running. [No I'm not suggesting the GPS can continue in the background, just a way of emulating a timer running in the background] Regards, Matt _______________________________________________ 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