We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e3dec commit 3aa0e24Copy full SHA for 3aa0e24
Sources/RemoteImage/public/Services/DefaultRemoteImageServiceFactory.swift
@@ -5,8 +5,10 @@
5
// Created by Christian Elies on 29.10.19.
6
//
7
8
+import Foundation
9
+
10
public final class DefaultRemoteImageServiceFactory {
- public static func makeDefaultRemoteImageService(remoteImageURLDataPublisher: RemoteImageURLDataPublisher) -> DefaultRemoteImageService {
11
+ public static func makeDefaultRemoteImageService(remoteImageURLDataPublisher: RemoteImageURLDataPublisher = URLSession.shared) -> DefaultRemoteImageService {
12
let dependencies = DefaultRemoteImageServiceDependencies(remoteImageURLDataPublisher: remoteImageURLDataPublisher)
13
return DefaultRemoteImageService(dependencies: dependencies)
14
}
0 commit comments