title: Create an Array in Swift from an NSData Object
body: <p>I'm trying to store an array of integers to disk in swift.  I can get them into an NSData object to store, but getting them back out into an array is difficult.  I can get a raw <code>COpaquePointer</code> to the data with <code>data.bytes</code> but can't find a way to initialize a new swift array with that pointer.  Does anyone know how to do it?</p>
  
  <pre><code>import Foundation
  
  var arr : UInt32[] = [32,4,123,4,5,2];
  
  let data = NSData(bytes: arr, length: arr.count * sizeof(UInt32))
  
  println(data)  //data looks good in the inspector
  
  // now get it back into an array?
  </code></pre>