title: How to add nil value to Swift Dictionary?
body: <p>I have made a request to my server in my app. And posted data something like this.Server side is waiting for all parameters even they are nil. But i couldn't add nil values to dictionary.</p>
  
  <pre><code> var postDict = Dictionary&lt;String,AnyObject&gt;
   postDict[pass]=123
   postDict[name]="ali"
   postDict[surname]=nil // dictionary still has only pass and name variables.
  </code></pre>
  
  <p>Is there a way to add nil value to dictionary ? </p>