title: Does Swift have an implicit Object Initializer, like in C#?
body: <p>In C#, we have Object Initializers, like so:</p>
  
  <pre><code>    Person obj = new Person
      {
          FirstName = "Craig",
          LastName = "Playstead",
      };
  </code></pre>
  
  <p>Does Swift have this?</p>
  
  <p>As an example, I have this code:</p>
  
  <pre><code>var config = IndicatesConfig()
  config.name = NSLocalizedString(Localizable.FOLDERS, comment: "").uppercaseString
  config.style = .DetailHeader
  return config
  </code></pre>
  
  <p>But would like to do something along the lines of:</p>
  
  <pre><code>var config = IndicatesConfig() {
      name = NSLocalizedString(Localizable.FOLDERS, comment: "").uppercaseString
      style = .DetailHeader
  }
  </code></pre>
  
  <p>Thank you!</p>
  
  <p>edit:</p>
  
  <p>I'm not referencing to the explicit definition of class initialisers. Please bear in mind the syntax shown in the C# example.</p>