Skip to content
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