title: how to create macro as function with swift programming language
body: <p>Following statement represents defining macro in objective c.</p>
  
  <p>As I know macro is not supported in Swift so I have to use function for that, so can you help and provide me what will be the swift code for the following statement?</p>
  
  <pre><code>#define LOCAL_STRING(KEY, VALUE, ...) [NSString localizedStringWithFormat:NSLocalizedString(@KEY, !@VALUE), ##__VA_ARGS__]
  </code></pre>