title: How do I load an image from parse in swift?
body: <p>I was wondering if anyone can help me, I'm new to app developing 
  I am uploading images from my app to parse with no problem with help from parse documentation. </p>
  
  <pre><code>    let imageData = UIImagePNGRepresentation(scaledImage)
      let imageFile: PFFile = PFFile(data: imageData)
  
      var userPhoto = PFObject(className: "postString")
      userPhoto["imageFile"] = imageFile
      userPhoto.saveInBackground()
  </code></pre>
  
  <p>but when i add the code to retrieve the image back, I'm a bit lost :/</p>
  
  <pre><code>let userImageFile = anotherPhoto["imageFile"] as PFFile
  userImageFile.getDataInBackgroundWithBlock {
  (imageData: NSData!, error: NSError!) -&gt; Void in
    if !error {
       let image = UIImage(data:imageData)
     }
  }
  </code></pre>
  
  <p>where is the "anotherPhoto" coming from ? Parse did say "Here we retrieve the image file off another UserPhoto named anotherPhoto:" </p>