title: Is there a way to instantly generate an array filled with a range of values in Swift?
body: <p>For example, in python I could say something along the lines of</p>
  
  <pre><code>arr = range(0,30) 
  </code></pre>
  
  <p>and get an array with said elements. 
  I suspect that something similar might be possible with a subscript in Swift, but after scouring the documentation and Apple's iBook I can't find a "batteries-included" solution for generating said array.</p>
  
  <p>Is this something I'd have to write the code manually for, or is there a pre-written method for it?</p>