From de86a81cc243c76ba74276ae36a5afaa49d7d91f Mon Sep 17 00:00:00 2001 From: "Dr. Michael Lauer" Date: Thu, 6 Aug 2015 11:50:49 +0200 Subject: [PATCH 1/2] Fix import header We're using UIImage here, so Foundation is not enough. --- Source/JTSImageInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/JTSImageInfo.h b/Source/JTSImageInfo.h index f65a5ac..7cfbc5a 100644 --- a/Source/JTSImageInfo.h +++ b/Source/JTSImageInfo.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 Nice Boy LLC. All rights reserved. // -@import Foundation; +@import UIKit; @interface JTSImageInfo : NSObject From 34b60c253dc940b4bde33029b577e0402d4d1a52 Mon Sep 17 00:00:00 2001 From: "Dr. Michael Lauer" Date: Thu, 6 Aug 2015 11:51:28 +0200 Subject: [PATCH 2/2] Fix header import We're using UIImage* here, so Foundation is not enough to import. --- Source/JTSSimpleImageDownloader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/JTSSimpleImageDownloader.h b/Source/JTSSimpleImageDownloader.h index bef844e..76328c6 100644 --- a/Source/JTSSimpleImageDownloader.h +++ b/Source/JTSSimpleImageDownloader.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 Nice Boy LLC. All rights reserved. // -@import Foundation; +@import UIKit; @interface JTSSimpleImageDownloader : NSObject