Refactors the UIImageView extension to provide async throws methods. Removes the compilation handler methods.
Removes GravatarUI/ImageDownloader+Extension.swift which contains the compilation handler method for downloading an image. Removes GravatarUITests/ImageDownloadServiceTests.swift which was testing the removed method. (We also have GravatarTests/ImageDownloadServiceTests.swift, that's a separate test and we should keep it)
Removes CancellableDataTask.swift since it's not used from anywhere anymore.
Testing Steps
There's no specific testing steps but Demo app > UIImageView Extension can be checked.
Closes https://github.com/Automattic/Gravatar-SDK-iOS/issues/164 https://github.com/Automattic/Gravatar-SDK-iOS/issues/165 #166 https://github.com/Automattic/Gravatar-SDK-iOS/issues/162
Description
GravatarUI/ImageDownloader+Extension.swift
which contains the compilation handler method for downloading an image. RemovesGravatarUITests/ImageDownloadServiceTests.swift
which was testing the removed method. (We also haveGravatarTests/ImageDownloadServiceTests.swift
, that's a separate test and we should keep it)CancellableDataTask.swift
since it's not used from anywhere anymore.Testing Steps
There's no specific testing steps but
Demo app > UIImageView Extension
can be checked.