'value' is inaccessible due to 'internal' protection level

后端 未结 3 2020
傲寒
傲寒 2021-01-28 14:07

Setting up API for openweathermap. However, when it comes to setting up this:

func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [C         


        
3条回答
  •  花落未央
    2021-01-28 14:37

    switch response.result {
            
            case .success(let value):
                print("Alamo value: \(value)")
                break
            case .failure(let error):
                print("Alamo error: \(error)")
                break
            }
    

提交回复
热议问题