title: Append to Dictionary in Swift
body: <p>I'm trying to do a very easy task, add an item to a dictionary using "append".</p>
  
  <p>This is the dict:</p>
  
  <pre><code>var myDictionary: [String:Int] = [
  "Apple" : 1,
  "Banana" : 2,
  "Strawberry" : 3
  ]
  </code></pre>
  
  <p>I've tried this
  <code>myDictionary+=["Raspberry":4]</code>
  Here I get the error message:</p>
  
  <blockquote>
    <p>binary operator cannot be apllied to two operands</p>
  </blockquote>
  
  <p>and also I tried:
  <code>myDictionary.append("Raspberry":4)</code></p>
  
  <p>and</p>
  
  <p><code>myDictionary.append[("Raspberry":4)]</code></p>
  
  <p>as well, but I get the error that it has :</p>
  
  <blockquote>
    <p>no member 'append.</p>
  </blockquote>
  
  <p>What exactly is the problem, how could I add the 4th item ? 
  Thanks for your help </p>