Is there way to prevent a Mac from going to sleep programmatically using Objective-C? The I/O kit fundamentals section on Apple\'s dev site tells me that a driver gets notif
Just create an NSTimer that fires a function with this
UpdateSystemActivity(OverallAct);
I'm pretty sure that that's exactly what Caffeine does.