Aspose.Words Cloud SDK for Objective C - v1.0.0

Rating: No reviews yet
Downloads: 24
Released: Oct 27, 2015
Updated: Nov 17, 2015 by asposewordsplugin
Dev status: Stable Help Icon

Recommended Download

Application Aspose.Words_Cloud_SDK_for_ObjectiveC.zip
application, 909K, uploaded Nov 17, 2015 - 24 downloads

Release Notes

Aspose.Words Cloud SDK for Objective C

This repository contains Aspose.Words Cloud SDK for Objective C - v1.0.0 source code. This SDK allows you to work with Aspose.Words 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 words 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-Words-SDK wherever you need it with #import "ASPWordsApi.h".

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

Usage
An example is given below to give you a quick preview of how APIs of this SDK can be called.
/*Convert word document from request content to specified format*/
#import "ASPApiClient.h"
#import "ASPWordsApi.h"

//Get App key and App SID from https://cloud.aspose.com
[ASPApiClient setAppKey:@"" andAppSID:@""];

ASPWordsApi *wordsApi = [[ASPWordsApi alloc] init];

NSURL *pathToFile = [[NSBundle mainBundle] URLForResource:@"SampleWordDocument" withExtension:@"docx"];

[self.wordsApi putConvertDocumentWithCompletionBlock:pathToFile 
                     format:@"pdf" 
                     outPath:nil 
                     replaceResourcesHostTo:nil 
                     completionHandler:^(NSURL *output, NSError *error) {
                         BOOL isFileExist = [[NSFileManager defaultManager] fileExistsAtPath:[output path]];
                         XCTAssertTrue(isFileExist, @"Failed to convert document from request content to specified format.");
}];


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.