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

Commit

Permalink
Add canImport(Combine)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Khorsandi committed Apr 26, 2021
1 parent 09f1da2 commit 850b52e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Lib/SwiftUI/PagePadding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import Foundation
import UIKit

Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/PagingCollectionViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import UIKit
import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/PagingCollectionViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import UIKit
import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/PagingCollectionViewControllerBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import SwiftUI

@available(iOS 13.0, *)
Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/PagingCollectionViewModifierData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import Foundation
import UIKit

Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/ScalePageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import Foundation
import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/SnapshotPageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import Foundation
import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/StackPageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import Foundation
import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/TransformPageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Amir on 28/03/2021.
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//
#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import Foundation
import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion Lib/SwiftUI/TransformPageViewProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2021 Amir Khorsandi. All rights reserved.
//

#if canImport(SwiftUI)
#if canImport(SwiftUI) && canImport(Combine)
import Foundation
import SwiftUI

Expand Down

0 comments on commit 850b52e

Please sign in to comment.