From 2c5c9d0605a98092a3d4ac2b1f397d2ffbfe384f Mon Sep 17 00:00:00 2001 From: Zaid Daghestani Date: Fri, 1 May 2015 22:28:50 -0700 Subject: [PATCH 1/2] Fix OSX compile --- MKNetworkKit/MKNetworkKit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MKNetworkKit/MKNetworkKit.h b/MKNetworkKit/MKNetworkKit.h index 523e6ab..4ef7955 100644 --- a/MKNetworkKit/MKNetworkKit.h +++ b/MKNetworkKit/MKNetworkKit.h @@ -68,8 +68,8 @@ #import "Categories/NSDictionary+RequestEncoding.h" #import "Categories/NSDate+RFC1123.h" #import "Categories/NSData+MKBase64.h" -#import "Categories/UIImageView+MKNetworkKitAdditions.h" #if TARGET_OS_IPHONE +#import "Categories/UIImageView+MKNetworkKitAdditions.h" #import "Categories/UIAlertView+MKNetworkKitAdditions.h" #elif TARGET_OS_MAC #import "Categories/NSAlert+MKNetworkKitAdditions.h" From 59d2c308781e828f54f1115515a440a3ff800d45 Mon Sep 17 00:00:00 2001 From: Zaid Daghestani Date: Fri, 1 May 2015 22:30:30 -0700 Subject: [PATCH 2/2] DLog not supported on x64 OSX --- MKNetworkKit/Categories/NSAlert+MKNetworkKitAdditions.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MKNetworkKit/Categories/NSAlert+MKNetworkKitAdditions.m b/MKNetworkKit/Categories/NSAlert+MKNetworkKitAdditions.m index ab1dac8..f6c113d 100644 --- a/MKNetworkKit/Categories/NSAlert+MKNetworkKitAdditions.m +++ b/MKNetworkKit/Categories/NSAlert+MKNetworkKitAdditions.m @@ -29,11 +29,11 @@ @implementation NSAlert (MKNetworkKitAdditions) +(NSAlert*) showWithError:(NSError*) networkError { - DLog(@"%@", [networkError userInfo]); + NSLog(@"%@", [networkError userInfo]); NSAlert *alert = [NSAlert alertWithError:networkError]; [alert runModal]; return alert; } @end -#endif \ No newline at end of file +#endif