Verified Commit 46a2940f authored by asahiocean's avatar asahiocean 🚀
Browse files

response = resp

parent 0ebb7f3c
......@@ -60,8 +60,8 @@ extension ViewController: ModelDelegate {
let directions = MKDirections(request: dirRequest)
directions.calculate { [self] (response, error) in
guard let response = response else {
directions.calculate { [self] (resp, error) in
guard let response = resp else {
if let error = error {
// MARK: Error message while building a route
let alert = UIAlertController(title: "FAILED TO CREATE A ROUTE",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment