title: Disable App Nap in MacOS 10.9 (Mavericks) application
body: <p>I am writing an application that receives OSC messages. However, due to 10.9's App-Nap-technology the application stops reacting on these messages after leaving foreground.
  I want to disable AppNap for my application running on 10.9, but still be able to run on 10.8, so I tried this piece of code, but it does not show any effect.</p>
  
  <pre class="lang-objective-c prettyprint-override"><code>if ([[NSProcessInfo processInfo] respondsToSelector:@selector(beginActivityWithOptions:reason:)]) {
      [[NSProcessInfo processInfo] beginActivityWithOptions:0x00FFFFFF reason:@"receiving OSC messages"];
  }
  </code></pre>
  
  <p>See full code on <a href="https://github.com/danielbuechele/atemOSC/blob/master/atemOSC/SwitcherPanelAppDelegate.mm#L607-L609" rel="noreferrer">github</a>.</p>
  
  <p>The if-condition seems to work as expected and is executed on 10.9-machines. But nevertheless the app is sent to sleep. (Activity Monitor shows "App Nap: Yes" for my application).</p>
  
  <p>Thanks for your help!</p>