title: Error with Parse Query findObjectsInBackgroundWithBlock
body: <p>I am new to ios development and I recently found a tutorial to build a tweeter like ios app using a parse backend. My current set up is Xcode 7.1 with swift 2.0, the tutorial was done on an older version of swift so I had to adjust some of the swift syntax in order to make it work. I was doing fine until I hit the following error, </p>
  
  <pre><code>func loadData(){
      timelineData.removeAllObjects()
      var findTimelineData:PFQuery = PFQuery(className: "Tweet")
  
      findTimelineData.findObjectsInBackgroundWithBlock{
          (objects:[AnyObject]?, error:NSError?) -&gt; Void in
          if (error == nil &amp;&amp; objects != nil){
              for object:PFObject! in objects!{
                 self.timelineData.addObject(object)
              }
              let array:NSArray = self.timelineData.reverseObjectEnumerator().allObjects
              self.timelineData = array as! NSMutableArray
              self.tableView.reloadData()
          }
  
    }
  </code></pre>
  
  <p>Here I am trying to access/store all the data in a parse table/class into an array. And the editor is complaining about the closure argument (objects:[AnyObject]?, error:NSError?) -> Void in. After a couple of tries, </p>
  
  <ol>
  <li>(objects:[AnyObject]!, error:NSError!) -> Void in</li>
  <li>(objects:[AnyObject], error:NSError?) -> Void in</li>
  <li>(objects:[AnyObject]?, error:NSError) -> Void in </li>
  <li>(objects:[AnyObject], error:NSError) -> Void in </li>
  </ol>
  
  <p>All the options I tried gave me the same error: 
  '([AnyObject]!, NSError!) -> Void' is not convertible to 'PFQueryArrayResultBlock?'</p>
  
  <p>In fact for (objects:[AnyObject]?, error:NSError?) -> Void in (which I thought makes the most sense), the editor would crash and if I ran the code I would get a seg fault. </p>
  
  <p>Has anyone run into similar issue? or know of a fix? </p>
  
  <p>Thank you for your help in advance. </p>