[![CI Status](http://img.shields.io/travis/Jindrich Sarson/OSXPreventSleep.svg?style=flat)](https://travis-ci.org/Jindrich Sarson/OSXPreventSleep)
This simple class allows to disable automatic sleep mode on OS X. Handy when developing app thats playing video, shows slideshow etc.
[OSXPreventSleep instance].preventSleep = YES // disable sleeping of OS X
[OSXPreventSleep instance].preventSleep = NO // enable sleeping of OS X
OSXPreventSleep is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "OSXPreventSleep"
Jindrich Sarson, [email protected]
OSXPreventSleep is available under the MIT license. See the LICENSE file for more info.