IOS-1480 Publish PEPAttachment. IOS-1480
authorDirk Zimmermann <dz@pep.security>
Fri, 01 Mar 2019 16:03:28 +0100
branchIOS-1480
changeset 8603276a0d35d09
parent 859 b2ca1a12396c
child 861 e21d2be61276
IOS-1480 Publish PEPAttachment.
pEpObjCAdapter.xcodeproj/project.pbxproj
pEpObjCAdapter/PEPAttachment.h
pEpObjCAdapterFramework/PEPAttachment.h
pEpObjCAdapterFramework/PEPObjCAdapterFramework.h
     1.1 --- a/pEpObjCAdapter.xcodeproj/project.pbxproj	Fri Mar 01 16:03:28 2019 +0100
     1.2 +++ b/pEpObjCAdapter.xcodeproj/project.pbxproj	Fri Mar 01 16:03:28 2019 +0100
     1.3 @@ -25,6 +25,7 @@
     1.4  		435C0CAC222930340025C6B5 /* PEPConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 435C0CAA222930340025C6B5 /* PEPConstants.h */; settings = {ATTRIBUTES = (Public, ); }; };
     1.5  		435C0CAD222930340025C6B5 /* PEPConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 435C0CAB222930340025C6B5 /* PEPConstants.m */; };
     1.6  		435C0CBB2229380E0025C6B5 /* NSNumber+PEPRating.h in Headers */ = {isa = PBXBuildFile; fileRef = 435665CA2080A6CB00EC5B10 /* NSNumber+PEPRating.h */; settings = {ATTRIBUTES = (Public, ); }; };
     1.7 +		435C0CD922296B660025C6B5 /* PEPAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 439D91A3208479EE003F6AC2 /* PEPAttachment.h */; settings = {ATTRIBUTES = (Public, ); }; };
     1.8  		435F5164222045FB006EB11F /* PEPIdentity.h in Headers */ = {isa = PBXBuildFile; fileRef = 435F5163222045FB006EB11F /* PEPIdentity.h */; settings = {ATTRIBUTES = (Public, ); }; };
     1.9  		435F5168222046C2006EB11F /* NSArray+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = 43209B271ECC2ACD007E7E2E /* NSArray+Extension.m */; };
    1.10  		435F5169222046C2006EB11F /* PEPCSVScanner.m in Sources */ = {isa = PBXBuildFile; fileRef = 43209B291ECC2ACD007E7E2E /* PEPCSVScanner.m */; };
    1.11 @@ -332,7 +333,6 @@
    1.12  				15206CC61F8E078B003FF880 /* PEPSession.m */,
    1.13  				433E28901FA741DE00E359B3 /* PEPIdentity.m */,
    1.14  				435796E21FB5E51A00395A9E /* PEPMessage.m */,
    1.15 -				439D91A3208479EE003F6AC2 /* PEPAttachment.h */,
    1.16  				439D91A4208479EE003F6AC2 /* PEPAttachment.m */,
    1.17  				43DED784203C25E200D45CD6 /* NSError+PEP.h */,
    1.18  				4360A9FD2227CFA300E62E5A /* NSError+PEP+Internal.h */,
    1.19 @@ -367,6 +367,7 @@
    1.20  		43E3985C221D7E56008E7983 /* PEPObjCAdapterFramework */ = {
    1.21  			isa = PBXGroup;
    1.22  			children = (
    1.23 +				439D91A3208479EE003F6AC2 /* PEPAttachment.h */,
    1.24  				435665CA2080A6CB00EC5B10 /* NSNumber+PEPRating.h */,
    1.25  				435C0CAA222930340025C6B5 /* PEPConstants.h */,
    1.26  				435C0CAB222930340025C6B5 /* PEPConstants.m */,
    1.27 @@ -422,6 +423,7 @@
    1.28  				435C0CAC222930340025C6B5 /* PEPConstants.h in Headers */,
    1.29  				43FF2ED12226AFE9000D9567 /* PEPEngineTypes.h in Headers */,
    1.30  				435F519022204A67006EB11F /* PEPSessionProtocol.h in Headers */,
    1.31 +				435C0CD922296B660025C6B5 /* PEPAttachment.h in Headers */,
    1.32  				435C0CBB2229380E0025C6B5 /* NSNumber+PEPRating.h in Headers */,
    1.33  			);
    1.34  			runOnlyForDeploymentPostprocessing = 0;
     2.1 --- a/pEpObjCAdapter/PEPAttachment.h	Fri Mar 01 16:03:28 2019 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,23 +0,0 @@
     2.4 -//
     2.5 -//  PEPAttachment.h
     2.6 -//  pEpObjCAdapter
     2.7 -//
     2.8 -//  Created by Dirk Zimmermann on 16.04.18.
     2.9 -//  Copyright © 2018 p≡p. All rights reserved.
    2.10 -//
    2.11 -
    2.12 -#import <Foundation/Foundation.h>
    2.13 -
    2.14 -#import <PEPObjCAdapterFramework/PEPEngineTypes.h>
    2.15 -
    2.16 -@interface PEPAttachment : NSObject
    2.17 -
    2.18 -@property (nonatomic) NSData *data;
    2.19 -@property (nonatomic) NSInteger size;
    2.20 -@property (nonatomic, nullable) NSString *mimeType;
    2.21 -@property (nonatomic, nullable) NSString *filename;
    2.22 -@property (nonatomic) PEPContentDisposition contentDisposition;
    2.23 -
    2.24 -- (_Nonnull instancetype)initWithData:(NSData *)data;
    2.25 -
    2.26 -@end
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pEpObjCAdapterFramework/PEPAttachment.h	Fri Mar 01 16:03:28 2019 +0100
     3.3 @@ -0,0 +1,23 @@
     3.4 +//
     3.5 +//  PEPAttachment.h
     3.6 +//  pEpObjCAdapter
     3.7 +//
     3.8 +//  Created by Dirk Zimmermann on 16.04.18.
     3.9 +//  Copyright © 2018 p≡p. All rights reserved.
    3.10 +//
    3.11 +
    3.12 +#import <Foundation/Foundation.h>
    3.13 +
    3.14 +#import <PEPObjCAdapterFramework/PEPEngineTypes.h>
    3.15 +
    3.16 +@interface PEPAttachment : NSObject
    3.17 +
    3.18 +@property (nonatomic) NSData *data;
    3.19 +@property (nonatomic) NSInteger size;
    3.20 +@property (nonatomic, nullable) NSString *mimeType;
    3.21 +@property (nonatomic, nullable) NSString *filename;
    3.22 +@property (nonatomic) PEPContentDisposition contentDisposition;
    3.23 +
    3.24 +- (_Nonnull instancetype)initWithData:(NSData *)data;
    3.25 +
    3.26 +@end
     4.1 --- a/pEpObjCAdapterFramework/PEPObjCAdapterFramework.h	Fri Mar 01 16:03:28 2019 +0100
     4.2 +++ b/pEpObjCAdapterFramework/PEPObjCAdapterFramework.h	Fri Mar 01 16:03:28 2019 +0100
     4.3 @@ -25,3 +25,4 @@
     4.4  #import <PEPObjCAdapterFramework/PEPMessage.h>
     4.5  #import <PEPObjCAdapterFramework/PEPConstants.h>
     4.6  #import <PEPObjCAdapterFramework/NSNumber+PEPRating.h>
     4.7 +#import <PEPObjCAdapterFramework/PEPAttachment.h>