title: Generating random numbers with Swift
body: <p>I need to generate a random number. </p>
  
  <p>It appears the <code>arc4random</code> function no longer exists as well as the <code>arc4random_uniform</code> function. </p>
  
  <p>The options I have are <code>arc4random_stir()</code>,   <code>arc4random_buf(UnsafeMutablePointer&lt;Void&gt;, Int)</code>, and   <code>arc4random_addrandom(UnsafeMutablePointer&lt;UInt8&gt;, Int32)</code>. </p>
  
  <p>I can't find any docs on the functions and no comments in the header files give hints.</p>