Skip to content

Commit

Permalink
Enhancements
Browse files Browse the repository at this point in the history
- extended identification numeric basic types in arrays (int8/16/32/64,
long32/64)
- optimized memory management.
- improved device detection.
  • Loading branch information
priore committed Mar 11, 2016
1 parent 7497e09 commit c2d7397
Show file tree
Hide file tree
Showing 22 changed files with 89 additions and 84 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.26.2, Mar 11, 2016
- extended identification numeric basic types in arrays (int8/16/32/64, long32/64)
- optimized memory management.
- improved device detection.

1.26, Feb 17, 2016
- uses NSProgress to track the sending and received data progress.
- runs notifications, blocks and delegates in the main thread.
Expand Down
2 changes: 1 addition & 1 deletion SOAPEngine.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SOAPEngine'
s.version = '1.26'
s.version = '1.26.2'
s.summary = 'This generic SOAP client allows you to access web services using a your iOS and Mac OS X app.'
s.license = { :type => 'Shareware', :file => 'LICENSE.txt' }
s.authors = { 'Danilo Priore' => 'support@prioregroup.com' }
Expand Down
48 changes: 24 additions & 24 deletions SOAPEngine64.framework/Headers/SOAPEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
//
// email support: support@prioregroup.com
//
// Version : 1.26
// Version : 1.26.2
// Changelog : https://github.com/priore/SOAPEngine/blob/master/CHANGELOG.txt
// Updates : https://github.com/priore/SOAPEngine
//
#define SOAPEngineFrameworkVersion @"1.26" DEPRECATED_ATTRIBUTE
#define SOAPEngineFrameworkVersion @"1.26.2" DEPRECATED_ATTRIBUTE

#import <Foundation/Foundation.h>

Expand All @@ -32,23 +32,23 @@
#endif

// Local Notification names
extern const NSString *SOAPEngineDidFinishLoadingNotification;
extern const NSString *SOAPEngineDidFailWithErrorNotification;
extern const NSString *SOAPEngineDidReceiveResponseCodeNotification;
extern const NSString *SOAPEngineDidBeforeSendingURLRequestNotification;
extern const NSString *SOAPEngineDidBeforeParsingResponseStringNotification;
extern const NSString *SOAPEngineDidReceiveDataSizeNotification;
extern const NSString *SOAPEngineDidSendDataSizeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidFinishLoadingNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidFailWithErrorNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidReceiveResponseCodeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidBeforeSendingURLRequestNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidBeforeParsingResponseStringNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidReceiveDataSizeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidSendDataSizeNotification;

// UserInfo dictionary keys for Local Noficiations
extern const NSString *SOAPEngineStatusCodeKey; // response status code
extern const NSString *SOAPEngineXMLResponseKey; // response xml
extern const NSString *SOAPEngineXMLDictionaryKey; // response dictionary
extern const NSString *SOAPEngineURLRequestKey; // http request
extern const NSString *SOAPEngineURLResponseKey; // http response
extern const NSString *SOAPEngineErrorKey; // errors
extern const NSString *SOAPEngineDataSizeKey; // send/receive data size
extern const NSString *SOAPEngineTotalDataSizeKey; // send/receive total data size
FOUNDATION_EXPORT const NSString *SOAPEngineStatusCodeKey; // response status code
FOUNDATION_EXPORT const NSString *SOAPEngineXMLResponseKey; // response xml
FOUNDATION_EXPORT const NSString *SOAPEngineXMLDictionaryKey; // response dictionary
FOUNDATION_EXPORT const NSString *SOAPEngineURLRequestKey; // http request
FOUNDATION_EXPORT const NSString *SOAPEngineURLResponseKey; // http response
FOUNDATION_EXPORT const NSString *SOAPEngineErrorKey; // errors
FOUNDATION_EXPORT const NSString *SOAPEngineDataSizeKey; // send/receive data size
FOUNDATION_EXPORT const NSString *SOAPEngineTotalDataSizeKey; // send/receive total data size

typedef void(^SOAPEngineCompleteBlock)(NSInteger statusCode, NSString *stringXML) DEPRECATED_ATTRIBUTE;
typedef void(^SOAPEngineCompleteBlockWithDictionary)(NSInteger statusCode, NSDictionary *dict);
Expand All @@ -58,14 +58,14 @@ typedef void(^SOAPEngineSendDataSizeBlock)(NSUInteger current, NSUInteger total)
typedef void(^SOAPEngineReceivedProgressBlock)(NSProgress *progress);
typedef void(^SOAPEngineSendedProgressBlock)(NSProgress *progress);

typedef enum
typedef NS_ENUM(NSInteger, SOAPVersion)
{
VERSION_1_1,
VERSION_1_2,
VERSION_WCF_1_1 // only basicHttpBinding wcf services (.svc)
} SOAPVersion;
};

typedef enum
typedef NS_ENUM(NSInteger, SOAPAuthorization)
{
SOAP_AUTH_NONE,
SOAP_AUTH_BASIC, // located in header request (base64)
Expand All @@ -76,14 +76,14 @@ typedef enum
SOAP_AUTH_PAYPAL, // for PayPal SOAP API
SOAP_AUTH_TOKEN, // with OAuth token
SOAP_AUTH_SOCIAL // for social account
} SOAPAuthorization;
};

typedef enum
typedef NS_ENUM(NSInteger, SOAPEnryption)
{
SOAP_ENCRYPT_NONE,
SOAP_ENCRYPT_AES256,
SOAP_ENCRYPT_3DES
} SOAPEnryption;
};

@protocol SOAPEngineDelegate;

Expand Down Expand Up @@ -243,7 +243,7 @@ typedef enum
// this generates an XML like this: <key attr="attr-value">key-value</key>
- (NSDictionary*)dictionaryForKey:(NSString*)key value:(id)value attributes:(NSDictionary*)attributes;

// clear all parameters
// clear all parameters, usually used before a new request with the same instance.
- (void)clearValues;

// webservice request (async)
Expand Down
Binary file modified SOAPEngine64.framework/Info.plist
Binary file not shown.
Binary file modified SOAPEngine64.framework/SOAPEngine64
Binary file not shown.
Binary file modified SOAPEngine64.framework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified SOAPEngine64.framework/_CodeSignature/CodeRequirements
Binary file not shown.
6 changes: 3 additions & 3 deletions SOAPEngine64.framework/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<dict>
<key>Headers/SOAPEngine.h</key>
<data>
n1thn4e41K1pNQ8su6d7D+J/7Jo=
nBSm2yJxtuXKEPqX4diP9MJ6qZI=
</data>
<key>Info.plist</key>
<data>
/JE/KebFCFM/e/zEHsLeSugAakM=
heQFX16tEy1POaaWAtFmOCY4NtE=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -21,7 +21,7 @@
<dict>
<key>Headers/SOAPEngine.h</key>
<data>
n1thn4e41K1pNQ8su6d7D+J/7Jo=
nBSm2yJxtuXKEPqX4diP9MJ6qZI=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
Binary file modified SOAPEngine64.framework/_CodeSignature/CodeSignature
Binary file not shown.
48 changes: 24 additions & 24 deletions SOAPEngineOSX.framework/Versions/A/Headers/SOAPEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
//
// email support: support@prioregroup.com
//
// Version : 1.26
// Version : 1.26.2
// Changelog : https://github.com/priore/SOAPEngine/blob/master/CHANGELOG.txt
// Updates : https://github.com/priore/SOAPEngine
//
#define SOAPEngineFrameworkVersion @"1.26" DEPRECATED_ATTRIBUTE
#define SOAPEngineFrameworkVersion @"1.26.2" DEPRECATED_ATTRIBUTE

#import <Foundation/Foundation.h>

Expand All @@ -32,23 +32,23 @@
#endif

// Local Notification names
extern const NSString *SOAPEngineDidFinishLoadingNotification;
extern const NSString *SOAPEngineDidFailWithErrorNotification;
extern const NSString *SOAPEngineDidReceiveResponseCodeNotification;
extern const NSString *SOAPEngineDidBeforeSendingURLRequestNotification;
extern const NSString *SOAPEngineDidBeforeParsingResponseStringNotification;
extern const NSString *SOAPEngineDidReceiveDataSizeNotification;
extern const NSString *SOAPEngineDidSendDataSizeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidFinishLoadingNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidFailWithErrorNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidReceiveResponseCodeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidBeforeSendingURLRequestNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidBeforeParsingResponseStringNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidReceiveDataSizeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidSendDataSizeNotification;

// UserInfo dictionary keys for Local Noficiations
extern const NSString *SOAPEngineStatusCodeKey; // response status code
extern const NSString *SOAPEngineXMLResponseKey; // response xml
extern const NSString *SOAPEngineXMLDictionaryKey; // response dictionary
extern const NSString *SOAPEngineURLRequestKey; // http request
extern const NSString *SOAPEngineURLResponseKey; // http response
extern const NSString *SOAPEngineErrorKey; // errors
extern const NSString *SOAPEngineDataSizeKey; // send/receive data size
extern const NSString *SOAPEngineTotalDataSizeKey; // send/receive total data size
FOUNDATION_EXPORT const NSString *SOAPEngineStatusCodeKey; // response status code
FOUNDATION_EXPORT const NSString *SOAPEngineXMLResponseKey; // response xml
FOUNDATION_EXPORT const NSString *SOAPEngineXMLDictionaryKey; // response dictionary
FOUNDATION_EXPORT const NSString *SOAPEngineURLRequestKey; // http request
FOUNDATION_EXPORT const NSString *SOAPEngineURLResponseKey; // http response
FOUNDATION_EXPORT const NSString *SOAPEngineErrorKey; // errors
FOUNDATION_EXPORT const NSString *SOAPEngineDataSizeKey; // send/receive data size
FOUNDATION_EXPORT const NSString *SOAPEngineTotalDataSizeKey; // send/receive total data size

typedef void(^SOAPEngineCompleteBlock)(NSInteger statusCode, NSString *stringXML) DEPRECATED_ATTRIBUTE;
typedef void(^SOAPEngineCompleteBlockWithDictionary)(NSInteger statusCode, NSDictionary *dict);
Expand All @@ -58,14 +58,14 @@ typedef void(^SOAPEngineSendDataSizeBlock)(NSUInteger current, NSUInteger total)
typedef void(^SOAPEngineReceivedProgressBlock)(NSProgress *progress);
typedef void(^SOAPEngineSendedProgressBlock)(NSProgress *progress);

typedef enum
typedef NS_ENUM(NSInteger, SOAPVersion)
{
VERSION_1_1,
VERSION_1_2,
VERSION_WCF_1_1 // only basicHttpBinding wcf services (.svc)
} SOAPVersion;
};

typedef enum
typedef NS_ENUM(NSInteger, SOAPAuthorization)
{
SOAP_AUTH_NONE,
SOAP_AUTH_BASIC, // located in header request (base64)
Expand All @@ -76,14 +76,14 @@ typedef enum
SOAP_AUTH_PAYPAL, // for PayPal SOAP API
SOAP_AUTH_TOKEN, // with OAuth token
SOAP_AUTH_SOCIAL // for social account
} SOAPAuthorization;
};

typedef enum
typedef NS_ENUM(NSInteger, SOAPEnryption)
{
SOAP_ENCRYPT_NONE,
SOAP_ENCRYPT_AES256,
SOAP_ENCRYPT_3DES
} SOAPEnryption;
};

@protocol SOAPEngineDelegate;

Expand Down Expand Up @@ -243,7 +243,7 @@ typedef enum
// this generates an XML like this: <key attr="attr-value">key-value</key>
- (NSDictionary*)dictionaryForKey:(NSString*)key value:(id)value attributes:(NSDictionary*)attributes;

// clear all parameters
// clear all parameters, usually used before a new request with the same instance.
- (void)clearValues;

// webservice request (async)
Expand Down
4 changes: 2 additions & 2 deletions SOAPEngineOSX.framework/Versions/A/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.26</string>
<string>1.26.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.26</string>
<string>1.26.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file modified SOAPEngineOSX.framework/Versions/A/SOAPEngineOSX
Binary file not shown.
Binary file modified SOAPEngineOSX.framework/Versions/A/_CodeSignature/CodeDirectory
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
<dict>
<key>Resources/Info.plist</key>
<data>
IcDvWxL4ar3harsoCONP7lJP0EA=
9MUtoRokSpqopx8piZTDlQOFgrQ=
</data>
</dict>
<key>files2</key>
<dict>
<key>Headers/SOAPEngine.h</key>
<data>
n1thn4e41K1pNQ8su6d7D+J/7Jo=
nBSm2yJxtuXKEPqX4diP9MJ6qZI=
</data>
<key>Modules/module.modulemap</key>
<data>
Mq/+VVzA/2WjOiipLKfO40YKl0k=
</data>
<key>Resources/Info.plist</key>
<data>
IcDvWxL4ar3harsoCONP7lJP0EA=
9MUtoRokSpqopx8piZTDlQOFgrQ=
</data>
</dict>
<key>rules</key>
Expand Down
Binary file modified SOAPEngineOSX.framework/Versions/A/_CodeSignature/CodeSignature
Binary file not shown.
48 changes: 24 additions & 24 deletions SOAPEngineTV.framework/Headers/SOAPEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
//
// email support: support@prioregroup.com
//
// Version : 1.26
// Version : 1.26.2
// Changelog : https://github.com/priore/SOAPEngine/blob/master/CHANGELOG.txt
// Updates : https://github.com/priore/SOAPEngine
//
#define SOAPEngineFrameworkVersion @"1.26" DEPRECATED_ATTRIBUTE
#define SOAPEngineFrameworkVersion @"1.26.2" DEPRECATED_ATTRIBUTE

#import <Foundation/Foundation.h>

Expand All @@ -32,23 +32,23 @@
#endif

// Local Notification names
extern const NSString *SOAPEngineDidFinishLoadingNotification;
extern const NSString *SOAPEngineDidFailWithErrorNotification;
extern const NSString *SOAPEngineDidReceiveResponseCodeNotification;
extern const NSString *SOAPEngineDidBeforeSendingURLRequestNotification;
extern const NSString *SOAPEngineDidBeforeParsingResponseStringNotification;
extern const NSString *SOAPEngineDidReceiveDataSizeNotification;
extern const NSString *SOAPEngineDidSendDataSizeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidFinishLoadingNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidFailWithErrorNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidReceiveResponseCodeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidBeforeSendingURLRequestNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidBeforeParsingResponseStringNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidReceiveDataSizeNotification;
FOUNDATION_EXPORT const NSString *SOAPEngineDidSendDataSizeNotification;

// UserInfo dictionary keys for Local Noficiations
extern const NSString *SOAPEngineStatusCodeKey; // response status code
extern const NSString *SOAPEngineXMLResponseKey; // response xml
extern const NSString *SOAPEngineXMLDictionaryKey; // response dictionary
extern const NSString *SOAPEngineURLRequestKey; // http request
extern const NSString *SOAPEngineURLResponseKey; // http response
extern const NSString *SOAPEngineErrorKey; // errors
extern const NSString *SOAPEngineDataSizeKey; // send/receive data size
extern const NSString *SOAPEngineTotalDataSizeKey; // send/receive total data size
FOUNDATION_EXPORT const NSString *SOAPEngineStatusCodeKey; // response status code
FOUNDATION_EXPORT const NSString *SOAPEngineXMLResponseKey; // response xml
FOUNDATION_EXPORT const NSString *SOAPEngineXMLDictionaryKey; // response dictionary
FOUNDATION_EXPORT const NSString *SOAPEngineURLRequestKey; // http request
FOUNDATION_EXPORT const NSString *SOAPEngineURLResponseKey; // http response
FOUNDATION_EXPORT const NSString *SOAPEngineErrorKey; // errors
FOUNDATION_EXPORT const NSString *SOAPEngineDataSizeKey; // send/receive data size
FOUNDATION_EXPORT const NSString *SOAPEngineTotalDataSizeKey; // send/receive total data size

typedef void(^SOAPEngineCompleteBlock)(NSInteger statusCode, NSString *stringXML) DEPRECATED_ATTRIBUTE;
typedef void(^SOAPEngineCompleteBlockWithDictionary)(NSInteger statusCode, NSDictionary *dict);
Expand All @@ -58,14 +58,14 @@ typedef void(^SOAPEngineSendDataSizeBlock)(NSUInteger current, NSUInteger total)
typedef void(^SOAPEngineReceivedProgressBlock)(NSProgress *progress);
typedef void(^SOAPEngineSendedProgressBlock)(NSProgress *progress);

typedef enum
typedef NS_ENUM(NSInteger, SOAPVersion)
{
VERSION_1_1,
VERSION_1_2,
VERSION_WCF_1_1 // only basicHttpBinding wcf services (.svc)
} SOAPVersion;
};

typedef enum
typedef NS_ENUM(NSInteger, SOAPAuthorization)
{
SOAP_AUTH_NONE,
SOAP_AUTH_BASIC, // located in header request (base64)
Expand All @@ -76,14 +76,14 @@ typedef enum
SOAP_AUTH_PAYPAL, // for PayPal SOAP API
SOAP_AUTH_TOKEN, // with OAuth token
SOAP_AUTH_SOCIAL // for social account
} SOAPAuthorization;
};

typedef enum
typedef NS_ENUM(NSInteger, SOAPEnryption)
{
SOAP_ENCRYPT_NONE,
SOAP_ENCRYPT_AES256,
SOAP_ENCRYPT_3DES
} SOAPEnryption;
};

@protocol SOAPEngineDelegate;

Expand Down Expand Up @@ -243,7 +243,7 @@ typedef enum
// this generates an XML like this: <key attr="attr-value">key-value</key>
- (NSDictionary*)dictionaryForKey:(NSString*)key value:(id)value attributes:(NSDictionary*)attributes;

// clear all parameters
// clear all parameters, usually used before a new request with the same instance.
- (void)clearValues;

// webservice request (async)
Expand Down
Binary file modified SOAPEngineTV.framework/Info.plist
Binary file not shown.
Binary file modified SOAPEngineTV.framework/SOAPEngineTV
Binary file not shown.
Binary file modified SOAPEngineTV.framework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file modified SOAPEngineTV.framework/_CodeSignature/CodeRequirements
Binary file not shown.
Loading

0 comments on commit c2d7397

Please sign in to comment.