Skip to content

Commit 4121950

Browse files
committed
watchOS support
1 parent 01bab87 commit 4121950

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Sources/UsefulNetworkLayer/Extensions/UIImageView+ImageURL.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2020 BUZ. All rights reserved.
77
//
88

9-
#if !os(macOS)
9+
#if !os(macOS) && !os(watchOS)
1010
import UIKit
1111

1212
public extension UIImageView {
@@ -86,6 +86,10 @@ public extension UIImageView {
8686
}
8787

8888
}
89+
#endif
90+
91+
#if !os(macOS)
92+
import UIKit
8993

9094
/// Wrapper Class to convert Data to UIImage.
9195
public struct ResponseImage: ResponseBodyParsable {

0 commit comments

Comments
 (0)