Skip to content

Commit

Permalink
Fix timing issue with speaking weather.
Browse files Browse the repository at this point in the history
Remove README file from build target.
  • Loading branch information
combes committed Jul 2, 2017
1 parent 541a744 commit 657ba5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions AudioWeather/AudioWeather.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
83D33DB31EF88E2A00B44E0B /* WeatherLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83D33DB21EF88E2A00B44E0B /* WeatherLoader.swift */; };
83D33DB71EF89D3000B44E0B /* WeatherAPIManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83D33DB61EF89D3000B44E0B /* WeatherAPIManagerTests.swift */; };
83D33DB91EF89D7000B44E0B /* WeatherLoaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83D33DB81EF89D7000B44E0B /* WeatherLoaderTests.swift */; };
83EE33301F09622500386F0B /* README.md in Sources */ = {isa = PBXBuildFile; fileRef = 83EE332F1F09622500386F0B /* README.md */; };
EB4D9AF32F0DB65BCCABC3A5 /* Pods_AudioWeather.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2A849419BE54BE522003292 /* Pods_AudioWeather.framework */; };
F86664268956028458EDD31C /* Pods_AudioWeatherTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 445CF3D9F462EED27A2DC50F /* Pods_AudioWeatherTests.framework */; };
/* End PBXBuildFile section */
Expand Down Expand Up @@ -519,7 +518,6 @@
837D00E31EFA2FD300648207 /* NetworkHelper.swift in Sources */,
833AAF031EF5E2980043E507 /* WeatherModel.swift in Sources */,
8362219B1EF9CBDA0021EA57 /* SearchViewController.swift in Sources */,
83EE33301F09622500386F0B /* README.md in Sources */,
836221991EF99E5F0021EA57 /* ForecastTableCell.swift in Sources */,
835CEED81EFDE5B6001AB8FB /* ForecastViewModel.swift in Sources */,
83D33DB31EF88E2A00B44E0B /* WeatherLoader.swift in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion AudioWeather/AudioWeather/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class MainViewController: UIViewController {
let model = WeatherModel(json: data)
updateFieldsWith(model: model)

DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 1) {
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now()) {
WeatherVoice.shared.speakWeather(model)
}
}
Expand Down

0 comments on commit 657ba5b

Please sign in to comment.