Skip to content

Commit

Permalink
Better Carthage, Objective-C ++ support
Browse files Browse the repository at this point in the history
  • Loading branch information
rock88 authored and DenTelezhkin committed Sep 25, 2015
1 parent e8f9152 commit 6b21d57
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion EasyMapping/EKManagedObjectMapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

@import CoreData;
#import <CoreData/CoreData.h>
#import "EKManagedObjectMapping.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion EasyMapping/EKManagedObjectModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2014 EasyKit. All rights reserved.
//

@import CoreData;
#import <CoreData/CoreData.h>
#import "EKMappingProtocol.h"

/**
Expand Down
4 changes: 2 additions & 2 deletions EasyMapping/EKMappingBlocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

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

typedef id(^EKMappingValueBlock)(NSString *key, id value);
typedef id(^EKMappingReverseBlock)( id value);
Expand Down
2 changes: 1 addition & 1 deletion EasyMapping/EKMappingProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2014 EasyKit. All rights reserved.
//

@import Foundation;
#import <Foundation/Foundation.h>
#import "EKObjectMapping.h"
#import "EKManagedObjectMapping.h"

Expand Down
2 changes: 1 addition & 1 deletion EasyMapping/EKObjectModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2014 EasyKit. All rights reserved.
//

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

/**
Expand Down
1 change: 0 additions & 1 deletion EasyMapping/EKSerializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
// THE SOFTWARE.

#import "EKObjectMapping.h"
#import "EKSerializer.h"
#import "EKManagedObjectMapping.h"

/**
Expand Down
20 changes: 11 additions & 9 deletions EasyMapping/EasyMapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

#import "EKMapper.h"
#import "EKSerializer.h"
#import "EKObjectMapping.h"
#import "EKManagedObjectMapper.h"
#import "EKManagedObjectMapping.h"
#import "EKMappingBlocks.h"
#import "EKObjectModel.h"
#import "EKManagedObjectModel.h"
#import "NSDateFormatter+EasyMappingAdditions.h"
#import <EasyMapping/EKMapper.h>
#import <EasyMapping/EKSerializer.h>
#import <EasyMapping/EKObjectMapping.h>
#import <EasyMapping/EKManagedObjectMapper.h>
#import <EasyMapping/EKManagedObjectMapping.h>
#import <EasyMapping/EKMappingBlocks.h>
#import <EasyMapping/EKObjectModel.h>
#import <EasyMapping/EKManagedObjectModel.h>
#import <EasyMapping/EKMappingProtocol.h>
#import <EasyMapping/EKPropertyMapping.h>
#import <EasyMapping/NSDateFormatter+EasyMappingAdditions.h>
2 changes: 1 addition & 1 deletion EasyMapping/NSDateFormatter+EasyMappingAdditions.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

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

static NSString * const EKRFC_3339DatetimeFormat = @"yyyy-MM-dd'T'HH:mm:ss'Z'";
static NSString * const EKRFC_822DatetimeFormat = @"EEE, dd MMM yyyy HH:mm:ss z";
Expand Down
18 changes: 9 additions & 9 deletions EasyMappingExample/EasyMappingExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@
9A2A382D1AEA5AB50021E97D /* EasyMapping.h in Headers */ = {isa = PBXBuildFile; fileRef = A9D16CF616F2B2770003759B /* EasyMapping.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A38341AEA607E0021E97D /* EKSerializer.h in Headers */ = {isa = PBXBuildFile; fileRef = A9D16D0016F2B2770003759B /* EKSerializer.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A38351AEA607E0021E97D /* EKManagedObjectMapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AA7CEBD191E555300608262 /* EKManagedObjectMapper.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A38361AEA607E0021E97D /* EKCoreDataImporter.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AA7CEC9191E62A100608262 /* EKCoreDataImporter.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A38361AEA607E0021E97D /* EKCoreDataImporter.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AA7CEC9191E62A100608262 /* EKCoreDataImporter.h */; };
9A2A38371AEA607E0021E97D /* EKManagedObjectMapping.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AE54FE2190BD91A003A3B56 /* EKManagedObjectMapping.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A38381AEA607E0021E97D /* EKMapper.h in Headers */ = {isa = PBXBuildFile; fileRef = A9D16CF916F2B2770003759B /* EKMapper.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A38391AEA607E0021E97D /* EKObjectMapping.h in Headers */ = {isa = PBXBuildFile; fileRef = A9D16CFC16F2B2770003759B /* EKObjectMapping.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A383A1AEA607E0021E97D /* EKPropertyMapping.h in Headers */ = {isa = PBXBuildFile; fileRef = A9D16CF716F2B2770003759B /* EKPropertyMapping.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A383B1AEA607E0021E97D /* EKRelationshipMapping.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A170330194C820200682F00 /* EKRelationshipMapping.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A383C1AEA607E0021E97D /* EKPropertyHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = A9D16CFE16F2B2770003759B /* EKPropertyHelper.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A383D1AEA607E0021E97D /* NSArray+FlattenArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AA7CED5191FCFFE00608262 /* NSArray+FlattenArray.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A383B1AEA607E0021E97D /* EKRelationshipMapping.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A170330194C820200682F00 /* EKRelationshipMapping.h */; };
9A2A383C1AEA607E0021E97D /* EKPropertyHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = A9D16CFE16F2B2770003759B /* EKPropertyHelper.h */; };
9A2A383D1AEA607E0021E97D /* NSArray+FlattenArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AA7CED5191FCFFE00608262 /* NSArray+FlattenArray.h */; };
9A2A383E1AEA607E0021E97D /* EKObjectModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A8420E01957164E006DDDE3 /* EKObjectModel.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A383F1AEA607E0021E97D /* EKManagedObjectModel.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A8420E6195718A2006DDDE3 /* EKManagedObjectModel.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A2A38401AEA607E0021E97D /* NSDateFormatter+EasyMappingAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A53E2D81A7E536600C4D169 /* NSDateFormatter+EasyMappingAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; };
Expand Down Expand Up @@ -1040,19 +1040,19 @@
9A2A382C1AEA5AA10021E97D /* EasyMapping.h in Headers */,
9A2A38341AEA607E0021E97D /* EKSerializer.h in Headers */,
9A2A38351AEA607E0021E97D /* EKManagedObjectMapper.h in Headers */,
9A2A38361AEA607E0021E97D /* EKCoreDataImporter.h in Headers */,
9A2A38371AEA607E0021E97D /* EKManagedObjectMapping.h in Headers */,
9A2A38381AEA607E0021E97D /* EKMapper.h in Headers */,
9A2A38391AEA607E0021E97D /* EKObjectMapping.h in Headers */,
9A2A383A1AEA607E0021E97D /* EKPropertyMapping.h in Headers */,
9A2A383B1AEA607E0021E97D /* EKRelationshipMapping.h in Headers */,
9A2A383C1AEA607E0021E97D /* EKPropertyHelper.h in Headers */,
9A2A383D1AEA607E0021E97D /* NSArray+FlattenArray.h in Headers */,
9A2A383E1AEA607E0021E97D /* EKObjectModel.h in Headers */,
9A2A383F1AEA607E0021E97D /* EKManagedObjectModel.h in Headers */,
9A2A38401AEA607E0021E97D /* NSDateFormatter+EasyMappingAdditions.h in Headers */,
9A2A383A1AEA607E0021E97D /* EKPropertyMapping.h in Headers */,
9A2A38411AEA607E0021E97D /* EKMappingBlocks.h in Headers */,
9A2A38421AEA607F0021E97D /* EKMappingProtocol.h in Headers */,
9A2A383D1AEA607E0021E97D /* NSArray+FlattenArray.h in Headers */,
9A2A38361AEA607E0021E97D /* EKCoreDataImporter.h in Headers */,
9A2A383C1AEA607E0021E97D /* EKPropertyHelper.h in Headers */,
9A2A383B1AEA607E0021E97D /* EKRelationshipMapping.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down

0 comments on commit 6b21d57

Please sign in to comment.