The API is exposed natively. Where you see the curl examples, there is a dropdown to show how to do it in other languages.
[PFCloud callFunctionInBackground:@"averageStars"
withParameters:@{@"movie": @"The Matrix"}
block:^(NSNumber *ratings, NSError *error) {
if (!error) {
// ratings is 4.5
}
}];
We should probably default to something other than curl or tweak that UI a bit. Thanks for pointing this out.