Skip to content

Commit

Permalink
Switch back from modules to make it more accessible to people not run…
Browse files Browse the repository at this point in the history
…ning 7
  • Loading branch information
soffes committed Sep 15, 2013
1 parent fbaafd3 commit c01954e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions SAMCache.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,10 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
WARNING_CFLAGS = "-Weverything";
WARNING_CFLAGS = (
"-Weverything",
"-Wno-auto-import",
);
};
name = Debug;
};
Expand Down Expand Up @@ -348,7 +351,10 @@
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
WARNING_CFLAGS = "-Weverything";
WARNING_CFLAGS = (
"-Weverything",
"-Wno-auto-import",
);
};
name = Release;
};
Expand Down
4 changes: 2 additions & 2 deletions SAMCache/SAMCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2011-2013 Sam Soffes. All rights reserved.
//

@import Foundation;
#import <Foundation/Foundation.h>

@interface SAMCache : NSObject

Expand Down Expand Up @@ -145,7 +145,7 @@

#if TARGET_OS_IPHONE

@import UIKit.UIImage;
#import <UIKit/UIImage.h>

@interface SAMCache (UIImageAdditions)

Expand Down
2 changes: 1 addition & 1 deletion SAMCache/SAMCache.m
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ - (NSString *)_pathForKey:(NSString *)key {

#if TARGET_OS_IPHONE

@import UIKit.UIScreen;
#import <UIKit/UIScreen.h>

@implementation SAMCache (UIImageAdditions)

Expand Down

0 comments on commit c01954e

Please sign in to comment.