Skip to content

Commit

Permalink
CocoaPods doesn't like @import :(
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Sep 20, 2013
1 parent d5ef989 commit d108717
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Example/Classes/SAMDemoViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#import "SAMDemoViewController.h"
#import "SAMGradientView.h"

@import Darwin.Availability;
#import <Availability.h>

@implementation SAMDemoViewController

Expand Down
10 changes: 5 additions & 5 deletions Example/Other Sources/SAMGradientView-Prefix.pch
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
// Prefix header for all source files of the 'SAMGradientView' target in the 'SAMGradientView' project
//

@import Darwin.Availability;
#import <Availability.h>

#ifndef __IPHONE_3_0
#warning "This project uses features only available in iOS SDK 3.0 and later."
#ifndef __IPHONE_6_0
#warning "This project uses features only available in iOS SDK 6.0 and later."
#endif

#ifdef __OBJC__
@import UIKit;
@import Foundation;
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
6 changes: 3 additions & 3 deletions SAMGradientView/SAMGradientView.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
// Copyright (c) 2009-2013 Sam Soffes. All rights reserved.
//

@import Foundation;
@import UIKit;
@import Darwin.Availability;
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <Availability.h>

/**
The mode of the gradient.
Expand Down

0 comments on commit d108717

Please sign in to comment.