title: oneway modifier objective c
body: <p>a <code>oneway</code> method is asynchronous (the result is not immediately expected)<a href="http://chachatelier.fr/programmation/fichiers/cpp-objc-en.pdf" rel="nofollow noreferrer">[1]</a>. <code>oneway</code> is used with the distributed objects API. <a href="https://stackoverflow.com/a/5495195/944634">[2]</a></p>
  
  <p>But i found below code in <a href="http://scplugin.tigris.org/" rel="nofollow noreferrer">SCPlugin</a></p>
  
  <pre><code>+ (oneway void) executeShellCommandAsynchronously:(NSString*)command
  {
      [[self taskForShellCommand:command] launch];
  
      return;
  }
  
  + (void) refreshAllFinderItems
  {
      //code
      if (cmd) {
          [ShellTask executeShellCommandAsynchronously:cmd];
      }
  }
  </code></pre>
  
  <p>will <code>oneway</code> behave same in cocoa application(without distributed object)?</p>