i dont have that much experience so please be friendly while explaining
i can't update my boolean value through swift.
let parseQuery = PFQuery(className: "request")
parseQuery.findObjectsInBackgroundWithBlock { (objects, error) -> Void in
if let objects = objects {
for object in objects {
object.setValue(false, forKey: "isRead") //tried this and didn't work
object["isRead"] = false //tried this and didn't work as well..
}
}
}
the method i use to update my boolean is wrong?