[Shared] Updates CocoaPods dependencies

This commit is contained in:
Riley Testut
2023-03-01 15:00:27 -06:00
committed by Magesh K
parent f24f721845
commit d00e6de8a2
11 changed files with 128 additions and 53 deletions

View File

@@ -278,18 +278,15 @@ private extension MyAppsViewController
guard let iconURL = installedApp.storeApp?.iconURL else { return nil }
return RSTAsyncBlockOperation() { (operation) in
ImagePipeline.shared.loadImage(with: iconURL, progress: nil, completion: { (response, error) in
ImagePipeline.shared.loadImage(with: iconURL, progress: nil) { result in
guard !operation.isCancelled else { return operation.finish() }
if let image = response?.image
switch result
{
completionHandler(image, nil)
case .success(let response): completionHandler(response.image, nil)
case .failure(let error): completionHandler(nil, error)
}
else
{
completionHandler(nil, error)
}
})
}
}
}
dataSource.prefetchCompletionHandler = { (cell, image, indexPath, error) in