title: How to call swift static method with escaping closure in objective-c file
body: <p>I have this static function written in swift that I need to call in objective-c file</p>
  
  <pre><code>static func downloadVideo(url: String, onResult: @escaping(String?) -&gt; ()){
      //some code
      onResult("done")
  }
  </code></pre>
  
  <p>In swift I would simply call it</p>
  
  <pre><code>Service.downloadVideo(url: "url") { (string) in
      print(string)
  }
  </code></pre>
  
  <p>How should I call it in objective-c file?</p>
  
  <p>EDIT:
  I suppose it should look something like this?</p>
  
  <pre><code>[[Service new] downloadVideo:@"url" onResult:^{
      NSLog(@"success")
  }];
  </code></pre>