From a818c66738c8208449992be63befe3792933578f Mon Sep 17 00:00:00 2001 From: Andrea Sacerdoti Date: Fri, 2 Jul 2021 11:33:26 +0200 Subject: [PATCH] Refactor import rules --- Sources/MockableStores/BaseSubscriber.swift | 2 +- Sources/MockableStores/MockableStore.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/MockableStores/BaseSubscriber.swift b/Sources/MockableStores/BaseSubscriber.swift index a3257d2..8dd5874 100644 --- a/Sources/MockableStores/BaseSubscriber.swift +++ b/Sources/MockableStores/BaseSubscriber.swift @@ -8,7 +8,6 @@ import Foundation #if canImport(Combine) import Combine -#endif @available(iOS 13.0, *) public protocol BaseSubscriber: ObservableObject, Subscriber { @@ -34,3 +33,4 @@ extension BaseSubscriber { debugPrint("\(ObjectType.self) Subscription", completion, separator: ": ") } } +#endif diff --git a/Sources/MockableStores/MockableStore.swift b/Sources/MockableStores/MockableStore.swift index a48f971..646d0ad 100644 --- a/Sources/MockableStores/MockableStore.swift +++ b/Sources/MockableStores/MockableStore.swift @@ -8,7 +8,6 @@ import Foundation #if canImport(Combine) import Combine -#endif @available(iOS 13.0, *) public protocol MockableStore: BaseSubscriber { @@ -27,3 +26,4 @@ extension MockableStore { } #endif } +#endif