aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2016-07-15 23:19:30 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2016-07-15 23:19:30 -0700
commita5e86f3aef6c89b4f0588f20732d237adc633e96 (patch)
treeaae87c13e2fe4a64f736b177aaf785353266229d
parentd7f0e877085ed96db10cba137bed2b4afae46f6a (diff)
SwiftSample app: ProtoMethod -> GRPCProtoMethod, etc.
-rw-r--r--src/objective-c/examples/SwiftSample/ViewController.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/examples/SwiftSample/ViewController.swift b/src/objective-c/examples/SwiftSample/ViewController.swift
index 000a6faf59..e7bab13762 100644
--- a/src/objective-c/examples/SwiftSample/ViewController.swift
+++ b/src/objective-c/examples/SwiftSample/ViewController.swift
@@ -62,7 +62,7 @@ class ViewController: UIViewController {
// Same but manipulating headers:
- var RPC : ProtoRPC! // Needed to convince Swift to capture by reference (__block)
+ var RPC : GRPCProtoCall! // Needed to convince Swift to capture by reference (__block)
RPC = service.RPCToUnaryCallWithRequest(request) { response, error in
if let response = response {
NSLog("2. Finished successfully with response:\n\(response)")
@@ -81,7 +81,7 @@ class ViewController: UIViewController {
// Same example call using the generic gRPC client library:
- let method = ProtoMethod(package: "grpc.testing", service: "TestService", method: "UnaryCall")
+ let method = GRPCProtoMethod(package: "grpc.testing", service: "TestService", method: "UnaryCall")
let requestsWriter = GRXWriter(value: request.data())