title: iOS Swift and localizedStringWithFormat
body: <p>I could not find a substitute for <code>localizedStringWithFormat</code> in swift. What I am trying to do is to use the singular/plural localization using the <code>Localizable.stringsdict</code>, english example:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
      &lt;dict&gt;
          &lt;key&gt;%d record trovati&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;NSStringLocalizedFormatKey&lt;/key&gt;
              &lt;string&gt;%#@num_people_in_room@ in the room&lt;/string&gt;
              &lt;key&gt;num_people_in_room&lt;/key&gt;
              &lt;dict&gt;
                  &lt;key&gt;NSStringFormatSpecTypeKey&lt;/key&gt;
                  &lt;string&gt;NSStringPluralRuleType&lt;/string&gt;
                  &lt;key&gt;NSStringFormatValueTypeKey&lt;/key&gt;
                  &lt;string&gt;d&lt;/string&gt;
                  &lt;key&gt;zero&lt;/key&gt;
                  &lt;string&gt;No record&lt;/string&gt;
                  &lt;key&gt;one&lt;/key&gt;
                  &lt;string&gt;Only one record&lt;/string&gt;
                  &lt;key&gt;other&lt;/key&gt;
                  &lt;string&gt;Some records&lt;/string&gt;
              &lt;/dict&gt;
          &lt;/dict&gt;
      &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>and the code:</p>
  
  <pre><code>[NSString localizedStringWithFormat:NSLocalizedString(@"%d record trovati", nil), totRecsFound];
  </code></pre>
  
  <p>Any idea on how to do this in Swift?</p>