From bd70ae5f9c5b7b127457551c68e199a1bd2101cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=CC=81te=CC=81=20Gujgiczer?= Date: Fri, 4 Oct 2019 16:54:23 +0200 Subject: [PATCH] - UIImageView extension only applied to available platforms --- RESTAPIImage/UIImage+Cachable.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RESTAPIImage/UIImage+Cachable.swift b/RESTAPIImage/UIImage+Cachable.swift index 87eb18c..9545275 100644 --- a/RESTAPIImage/UIImage+Cachable.swift +++ b/RESTAPIImage/UIImage+Cachable.swift @@ -41,7 +41,9 @@ extension UIImage: Cachable { return UIImage(data: data) as? Self } } +#endif +#if os(tvOS) && os(iOS) // MARK: UIImageView extension public extension UIImageView {