Latest 0.2.0
Homepage https://github.com/sarsonj/OSXPreventSleep
License MIT
Platforms osx 10.8
Authors

[![CI Status](http://img.shields.io/travis/Jindrich Sarson/OSXPreventSleep.svg?style=flat)](https://travis-ci.org/Jindrich Sarson/OSXPreventSleep)
Version
License
Platform

Example

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

Installation

OSXPreventSleep is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "OSXPreventSleep"

Author

Jindrich Sarson, [email protected]

License

OSXPreventSleep is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "OSXPreventSleep",
    "version": "0.2.0",
    "summary": "Prevents sleep mode of OS X.",
    "description": "Sometimes, you want to disable OS X power saving feature - like when you arenplaying video in your app, watching slideshow etc. This simple class can do this.",
    "homepage": "https://github.com/sarsonj/OSXPreventSleep",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jindrich Sarson": "[email protected]"
    },
    "source": {
        "git": "https://github.com/sarsonj/OSXPreventSleep.git",
        "tag": "0.2.0"
    },
    "platforms": {
        "osx": "10.8"
    },
    "source_files": "Classes/**/*"
}

Pin It on Pinterest

Share This