title: How to remove an element from an array in Swift
body: <p>How can I unset/remove an element from an array in Apple's new language Swift?</p>
  
  <p>Here's some code:</p>
  
  <pre><code>let animals = ["cats", "dogs", "chimps", "moose"]
  </code></pre>
  
  <p>How could the element <code>animals[2]</code> be removed from the array?</p>