Aspose.Email Cloud SDK for iOS - v1.0.0

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

Recommended Download

Application Aspose.Email_Cloud_SDK_For_Objective_C_v1.0.0.zip
application, 51K, uploaded Nov 29, 2015 - 17 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
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".

Usage
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 https://cloud.aspose.com
[ASPApiClient setAppKey:@"" andAppSID:@""];

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

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

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


Dependency
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.