title: How to convert a NSData object to a UIImage? Using Swift
body: <p>I have an array of images in an NSData array. How do i convert all of them to an image array without doing it manualy? do i use this line of code(<code>let yourImage = UIImage(data:NsdataArray)</code>
  )</p>
  
  <pre><code>var NsdataArray:[AnyObject] = [image1, image2, image3]
  //convert everything to this array
  var imageArray:[UIImage] = [UIImage]()
  </code></pre>