Skip to content

Commit 5e8f64e

Browse files
author
Jayson Ng
committed
Update cloud-code.md
1 parent a6b80e3 commit 5e8f64e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_includes/cloudcode/cloud-code.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ To call the same Cloud function from an iOS app:
5858

5959
```swift
6060
// Swift
61+
PFCloud.callFunction(inBackground: "averageRatings", withParameters: ["movie":"The Matrix"]) {
6162
(response, error) in
6263
let ratings = response as? Float
6364
// ratings is 4.5

0 commit comments

Comments
 (0)