EDIT: I'm thinking this error might be due to the fact that Xcode 6.3 may have changed some features around and the query.getObjectInBackgroundWithId was one of them....
I am trying to run a query but when I run the method "query.getObjectInBackgroundWithId" , I am getting the error message:
"Cannot invoke 'getObjectInBackgroundWithId' with an argument list of type (string, block: (PFObject!,NSError?) -> Void"
override func viewDidLoad() {
super.viewDidLoad()
let score = PFObject(className: "gameScore")
var query = PFQuery(className: "gameScore")
query.getObjectInBackgroundWithId("HK0UbuTIQL", block: {
(score: PFObject!, error: NSError?) -> Void in
if error == nil {
println("pussiesPoundedCreated")
} else {
println(error)
}
})
}