Skip to content

Commit

Permalink
Use #import instead of modules
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraskelton committed Jun 9, 2015
1 parent cf26744 commit e892e90
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion FastttCamera/AVCaptureDevice+FastttCamera.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

@import AVFoundation;
#import <AVFoundation/AVFoundation.h>
#import "FastttCameraTypes.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/FastttCamera.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

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

#import "FastttCamera.h"
#import "IFTTTDeviceOrientation.h"
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/FastttCameraInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

@import UIKit;
#import <UIKit/UIKit.h>
#import "FastttCameraTypes.h"
#import "FastttCapturedImage.h"
#import "UIViewController+FastttCamera.h"
Expand Down
2 changes: 2 additions & 0 deletions FastttCamera/FastttCameraTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
//
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, FastttCameraDevice) {
FastttCameraDeviceFront,
FastttCameraDeviceRear
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/FastttCapturedImage.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

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

/**
* Public class to hold a captured image object, used in FastttCameraDelegate callbacks
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/FastttFocus.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

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

@protocol FastttFocusDelegate;

Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/Filters/FastttFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

@import UIKit;
#import <UIKit/UIKit.h>
#import "GPUImageOutput.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/Filters/FastttFilterCamera.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 IFTTT. All rights reserved.
//

@import UIKit;
#import <UIKit/UIKit.h>
#import "FastttCameraInterface.h"

/**
Expand Down
3 changes: 1 addition & 2 deletions FastttCamera/Filters/FastttFilterCamera.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
// Copyright (c) 2015 IFTTT. All rights reserved.
//

@import AVFoundation;

#import <AVFoundation/AVFoundation.h>
#import "GPUImage.h"
#import "FastttFilterCamera.h"
#import "IFTTTDeviceOrientation.h"
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/Filters/UIImage+FastttFilters.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

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

/**
* Public UIImage category you can use to apply filters to static image on your photo edit/confirm screen.
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/IFTTTDeviceOrientation.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 IFTTT. All rights reserved.
//

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

/**
* Private category used by FastttCamera for managing the device's actual orientation.
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/IFTTTDeviceOrientation.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 IFTTT. All rights reserved.
//

@import CoreMotion;
#import <CoreMotion/CoreMotion.h>
#import "IFTTTDeviceOrientation.h"

@interface IFTTTDeviceOrientation ()
Expand Down
4 changes: 2 additions & 2 deletions FastttCamera/UIImage+FastttCamera.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//

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

/**
* Private category used by FastttCamera for processing UIImages.
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/UIImage+FastttCamera.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "UIImage+FastttCamera.h"
@import UIKit;
#import <UIKit/UIKit.h>

CG_INLINE CGFLOAT_TYPE FastttRound(CGFLOAT_TYPE f) {
#if CGFLOAT_IS_DOUBLE
Expand Down
2 changes: 1 addition & 1 deletion FastttCamera/UIViewController+FastttCamera.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//

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

/**
* Public category you can use for adding and removing the FastttCamera instance
Expand Down

0 comments on commit e892e90

Please sign in to comment.