Closed
Description
Hi, I setup my parse solution using Swift 2. After updating Xcode and converting to Swift 3 I get the following error on my code:
let query = PFQuery(className: "gameScore")
query.order(byDescending: "score")
query.findObjectsInBackgroundWithBlock {(objects: [PFObject]?, error: NSError?) -> Void in
Cannot convert value of type '([PFObject]?, NSError?) -Z Void' to expected argument type '([PFObject]?, NSError?) -> Void?
Anyone with any ideas on this issue??
Thanks!
Metadata
Metadata
Assignees
Labels
No labels