title: Is there a required order of parameters in a swift function call
body: <p>Xcode 8.3.3 is complaining about the order of parameters in my function declaration, as shown in the attached screen shot. The JSON info is shown in the panel below the code, and has data in the order:
  autoplay, description, image, title, type, video, videoformat.</p>
  
  <p>The error message says
  Incorrect argument label in call (have 'title:description:image:video:type:autoplay.', expected 'title:description:image:video:videoformat:autoplay.')</p>
  
  <p>In other words, Swift is expecting 'videoformat' instead of 'type'.
  I don't care about videoformat and have not included it in the json serialization. I do care about type, and have a variable assigned for it, so I need to pass in a value.</p>
  
  <p>[The current order of parameters has already been rigorously parsed by Xcode Swift - I originally had them in the order of declaration but Xcode/Swift insisted this order is required.]</p>
  
  <p>Is it a coincidence that the required order is by parameter type:
  String, String, URL, URL, ??, Int, and why is it asking for videoformat which has never been declared, but not for type which has been declared?
  <a href="https://i.stack.imgur.com/orFzI.png" rel="nofollow noreferrer">Screenshot showing function declaration and actual json data to be parsed</a></p>