CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2016 |
Maintained by Jindrich Sarson.
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.