-
-
Notifications
You must be signed in to change notification settings - Fork 873
Closed
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed
Milestone
Description
I am using the code below that has previously worked to delete an object. However, after updating to the latest SDK, It no longer seems to be working. Any ideas?
Thanks
var query = PFQuery(className:"MyClass")
query.getObjectInBackgroundWithId("myObjectId") {
(gameScore: PFObject?, error: NSError?) -> Void in
if error == nil && gameScore != nil {
println(gameScore)
gameScore!.deleteInBackgroundWithBlock({ (success, error) -> Void in
println("Deleted")
})
} else {
println(error)
}
}
Metadata
Metadata
Assignees
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed