title: Add an element to an array in Swift
body: <p>Suppose I have an array, for example:</p>
  
  <pre><code>var myArray = ["Steve", "Bill", "Linus", "Bret"]
  </code></pre>
  
  <p>And later I want to push/append an element to the end of said array, to get:</p>
  
  <p><code>["Steve", "Bill", "Linus", "Bret", "Tim"]</code></p>
  
  <p>What method should I use?</p>
  
  <p>And what about the case where I want to add an element to the <strong>front</strong> of the array? Is there a constant time unshift?</p>