We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d048bf4 commit ca92308Copy full SHA for ca92308
1 file changed
Source/Shared/Library/TransformerFactory.swift
@@ -9,7 +9,7 @@ public class TransformerFactory {
9
return Transformer<Data>(toData: toData, fromData: fromData)
10
}
11
12
- #if os(iOS) || os(tvOS) || os(macOS)
+ #if os(iOS) || os(tvOS) || os(macOS) || os(visionOS)
13
public static func forImage() -> Transformer<Image> {
14
let toData: (Image) throws -> Data = { image in
15
return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
0 commit comments