title: Delete object with Swift
body: <p>I'm trying to delete an object in my Parse Cloud with Swift Langage.
  But I can't do it. There is my code : </p>
  
  <pre><code>var query = PFQuery(className: "Activity")
      query.whereKey("activityID", equalTo: self.activityId)
           query.getFirstObjectInBackgroundWithBlock {
              (objectFo: PFObject?, error: NSError?) -&gt; Void in
                  if error == nil &amp;&amp; objectFo != nil {
                      objectFo?.deleteInBackgroundWithBlock {
                          (success: Bool, error: NSError?) -&gt; Void in
                          if (success) {
                              println("success")
                          } else {
                              println(error)
                          }
                      }
                  } else {
                      println(error)
                  }
              }
  </code></pre>
  
  <p>"Success" appear in my console, but my object isn't deleted..
  With Objective-C it's ok, but in Swift...</p>
  
  <p>Any idea ? </p>
  
  <p>Thanks</p>