Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progress.fractionCompleted is always 1.0 #24

Open
dzpt opened this issue Oct 10, 2019 · 0 comments
Open

progress.fractionCompleted is always 1.0 #24

dzpt opened this issue Oct 10, 2019 · 0 comments

Comments

@dzpt
Copy link

dzpt commented Oct 10, 2019

Digger.download(self.fileurl.absoluteString)
			.progress { progress in
				print(progress.fractionCompleted)
			}
			.completion { result in
				switch result {
				case .success(let url):
					print(url)
					
				case .failure(let error):
					print(error)
				}
			}

Testing on ios 9.1 to 13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant