title: how to add multiple key value pairs to dictionary Swift
body: <p>okay, i'm trying to have the user add a key and value pair to a dictionary i created and have it show up in a table view. i do that just fine but i cant seem to figure out how to add another pair. when i go to add another it replaces the last one. id really like to have multiple pairs. can someone help please? </p>
  
  <p>heres my code:</p>
  
  <pre><code>//declaring the dictionary
  var cart = [String:String]() 
  
  //attempting to add to dictionary
  cart[pizzaNameLabel.text!] = formatter.stringFromNumber(total) 
  </code></pre>