I am trying to use Parse to save data for my iPhone app. When I save static things, it works fine. However, when I try to set the value of a variable and then save it, I get an error saying, “Implicit conversion of ‘int’ to ‘id’ is disallowed with ARC.”
How do I fix this so I can save the value of maxScore to my Parse backend?
int maxScore = 500;
//Save round data to parse
PFObject *roundScore = [PFObject objectWithClassName:@"UserCoor"];
roundScore[@"UserLat"] = maxScore;
[roundScore saveInBackground];