Skip to content

Commit bd70ae5

Browse files
committed
- UIImageView extension only applied to available platforms
1 parent 67e915e commit bd70ae5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RESTAPIImage/UIImage+Cachable.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ extension UIImage: Cachable {
4141
return UIImage(data: data) as? Self
4242
}
4343
}
44+
#endif
4445

46+
#if os(tvOS) && os(iOS)
4547
// MARK: UIImageView extension
4648
public extension UIImageView {
4749

0 commit comments

Comments
 (0)