Flattened the folder structure of the Libraries now that the idea is to use precompiler processors to filter out platform-specific code.

This commit is contained in:
2023-04-28 16:54:15 +02:00
parent 8d33cdea7c
commit 847c2afc44
15 changed files with 20 additions and 0 deletions
@@ -10,6 +10,7 @@
//
//===----------------------------------------------------------------------===//
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
import Foundation
/// This class overrides the `URLProtocol` protocol used by the `URLSession` to handle the loading of protocol-specific URL data so it is possible to mock URL response for testing purposes.
@@ -116,3 +117,4 @@ public struct MockURLResponse {
}
}
#endif
@@ -10,6 +10,7 @@
//
//===----------------------------------------------------------------------===//
#if os(iOS) || os(macOS) || os(tvOS) || os(watchOS)
import Foundation
/// This use case generate a url request out of a given endpoint.
@@ -55,3 +56,4 @@ public struct MakeURLRequestUseCase {
}
}
#endif