Skip to content
This repository was archived by the owner on Jun 17, 2023. It is now read-only.

Commit 850b52e

Browse files
author
Amir Khorsandi
committed
Add canImport(Combine)
1 parent 09f1da2 commit 850b52e

10 files changed

+10
-10
lines changed

Lib/SwiftUI/PagePadding.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import Foundation
1111
import UIKit
1212

Lib/SwiftUI/PagingCollectionViewCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import UIKit
1111
import SwiftUI
1212

Lib/SwiftUI/PagingCollectionViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import UIKit
1111
import SwiftUI
1212

Lib/SwiftUI/PagingCollectionViewControllerBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import SwiftUI
1111

1212
@available(iOS 13.0, *)

Lib/SwiftUI/PagingCollectionViewModifierData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import Foundation
1111
import UIKit
1212

Lib/SwiftUI/ScalePageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import Foundation
1111
import SwiftUI
1212

Lib/SwiftUI/SnapshotPageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import Foundation
1111
import SwiftUI
1212

Lib/SwiftUI/StackPageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import Foundation
1111
import SwiftUI
1212

Lib/SwiftUI/TransformPageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Amir on 28/03/2021.
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
8-
#if canImport(SwiftUI)
8+
#if canImport(SwiftUI) && canImport(Combine)
99
import Foundation
1010
import SwiftUI
1111

Lib/SwiftUI/TransformPageViewProtocol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2021 Amir Khorsandi. All rights reserved.
77
//
88

9-
#if canImport(SwiftUI)
9+
#if canImport(SwiftUI) && canImport(Combine)
1010
import Foundation
1111
import SwiftUI
1212

0 commit comments

Comments
 (0)