title: Get image from documents directory swift
body: <p>Say I were using this code to save an image to the documents directroy</p>
  
  <pre><code>let nsDocumentDirectory = NSSearchPathDirectory.DocumentDirectory
  let nsUserDomainMask = NSSearchPathDomainMask.UserDomainMask
  if let paths = NSSearchPathForDirectoriesInDomains(nsDocumentDirectory, nsUserDomainMask, true) {
  if paths.count &gt; 0 {
      if let dirPath = paths[0] as? String {
          let readPath = dirPath.stringByAppendingPathComponent("Image.png")
          let image = UIImage(named: readPath)
          let writePath = dirPath.stringByAppendingPathComponent("Image2.png") 
          UIImagePNGRepresentation(image).writeToFile(writePath, atomically: true)
      }
    }
  }
  </code></pre>
  
  <p>How would I then retrive it? Keeping in mind than in iOS8 the exact path changes often</p>