Fix usage of proto message parsing

On account of https://github.com/google/protobuf/pull/1712
pull/7475/head
Jorge Canizales 8 years ago
parent 7a2bc14fc0
commit fb3a71d9c0
  1. 2
      src/objective-c/examples/SwiftSample/ViewController.swift

@ -91,7 +91,7 @@ class ViewController: UIViewController {
call.startWithWriteable(GRXWriteable { response, error in
if let response = response as? NSData {
NSLog("3. Received response:\n\(RMTSimpleResponse(data: response, error: nil))")
NSLog("3. Received response:\n\(try! RMTSimpleResponse(data: response))")
} else {
NSLog("3. Finished with error: \(error!)")
}

Loading…
Cancel
Save