Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix archiving #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Sources/ImageIOSwiftUI/Derived.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if canImport(SwiftUI) && canImport(Combine)
import Combine
import SwiftUI

Expand Down Expand Up @@ -111,3 +112,4 @@ extension Derived.Lazy: ErasedObservableObject where Derived: ObservableObject {
.eraseToAnyPublisher()
}
}
#endif
2 changes: 2 additions & 0 deletions Sources/ImageIOSwiftUI/ImageSourceView.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if canImport(SwiftUI) && canImport(Combine)
import ImageIOSwift
import SwiftUI

Expand Down Expand Up @@ -77,3 +78,4 @@ public struct ImageSourceView: View {
}
}
}
#endif
2 changes: 2 additions & 0 deletions Sources/ImageIOSwiftUI/StaticImageSourceView.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if canImport(SwiftUI) && canImport(Combine)
import ImageIOSwift
import SwiftUI

Expand Down Expand Up @@ -107,3 +108,4 @@ public struct StaticImageSourceView: View {
)
}
}
#endif
2 changes: 2 additions & 0 deletions Sources/ImageIOSwiftUI/URLImageSourceView.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if canImport(SwiftUI) && canImport(Combine)
import Combine
import ImageIOSwift
import SwiftUI
Expand Down Expand Up @@ -108,3 +109,4 @@ public struct URLImageSourceView: View {
}
}
}
#endif