Aspose.Email Cloud SDK for iOS - v1.0.0

Rating: No reviews yet
Downloads: 19
Released: Nov 29, 2015
Updated: Nov 29, 2015 by asposeemail
Dev status: Stable Help Icon

Recommended Download

application, 51K, uploaded Nov 29, 2015 - 19 downloads

Release Notes

Aspose.Email Cloud SDK for Objective C (iOS)

This repository contains Aspose.Email Cloud SDK for Objective C - v1.0.0 source code. This SDK allows you to work with Aspose.Email Cloud REST APIs in your iOS applications quickly and easily.

How to use the SDK?

1. Download the latest code version.
2. Open your project in Xcode, then drag and drop email folder onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
3. Include Aspose-Email-SDK wherever you need it with #import "ASPEmailApi.h".

CocoaPods is the recommended way to add Aspose-Email-SDK to your project.
1. Add a pod entry for Aspose-Email-SDK to your Podfile pod 'AsposeEmailCloud'
2. Install the pod(s) by running pod install.
3. Include Aspose-Email-SDK wherever you need it with #import "ASPEmailApi.h".

An example is given below to give you a quick preview of how APIs of this SDK can be called.
/*Get email attachment by name.*/

#import "ASPApiClient.h"
#import "ASPEmailApi.h"

//Get App key and App SID from
[ASPApiClient setAppKey:@"" andAppSID:@""];

ASPEmailApi *emailApi = [[ASPEmailApi alloc] init];

NSString *fileName = @"email_test2.eml";
[self uploadFile:fileName];

[self.emailApi getEmailAttachmentWithCompletionBlock:fileName 
                    completionHandler:^(NSURL *output, NSError *error) {
                        BOOL isFileExist = [[NSFileManager defaultManager] fileExistsAtPath:[output path]];
                        XCTAssertTrue(isFileExist, @"Failed to get email attachment by name.");

This SDK has dependency on following libraries.
1. AFNetworking
2. JSONModel
3. ISO8601
4. AsposeStorageCloud

Reviews for this release

No reviews yet for this release.