diff options
author | Jorge Canizales <jcanizales@google.com> | 2016-07-15 23:19:30 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2016-07-15 23:19:30 -0700 |
commit | a5e86f3aef6c89b4f0588f20732d237adc633e96 (patch) | |
tree | aae87c13e2fe4a64f736b177aaf785353266229d /src/objective-c | |
parent | d7f0e877085ed96db10cba137bed2b4afae46f6a (diff) |
SwiftSample app: ProtoMethod -> GRPCProtoMethod, etc.
Diffstat (limited to 'src/objective-c')
-rw-r--r-- | src/objective-c/examples/SwiftSample/ViewController.swift | 4 |
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()) |