kes3035 / WeatherAnimals

0 stars 0 forks source link

Test: CurrentCell Closure Doesn't Work #4

Closed kes3035 closed 9 months ago

kes3035 commented 9 months ago

In MainVC, it works but In CurrenCell, It doesn't work

kes3035 commented 9 months ago

self.weatherViewModel.getDetailVCWeather(location: self.weatherViewModel.yongin) self.weatherViewModel.didFetchedWeathers = { DispatchQueue.main.async { self.navigationController?.pushViewController(detailVC, animated: true) } }

I can handle it through detecting the moment that WeatherService has fetched data completely.