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

Rating: No reviews yet
Downloads: 28
Released: Oct 30, 2015
Updated: Nov 17, 2015 by asposepdf
Dev status: Stable Help Icon

Recommended Download

Application Aspose.Pdf_Cloud_SDK_for_Objective_C_v1.0.0.zip
application, 2418K, uploaded Nov 17, 2015 - 28 downloads

Release Notes

Aspose.Pdf Cloud SDK for Objective C

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

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

Usage
An example is given below to give you a quick preview of how APIs of this SDK can be called.
/*Convert PDF document from request content to specified format*/

#import "ASPApiClient.h"
#import "ASPPdfApi.h"

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

ASPPdfApi *pdfApi = [[ASPPdfApi alloc] init];

NSURL *pathToFile = [[NSBundle mainBundle] URLForResource:@"Sample" withExtension:@"pdf"];

[self.pdfApi putConvertDocumentWithCompletionBlock:pathToFile
                   format:@"tiff"
                   replaceResourcesHostTo:nil
                   outPath:nil
                   completionHandler:^(NSURL *output, NSError *error) {
             	     BOOL isFileExist = [[NSFileManager defaultManager] fileExistsAtPath:[output path]];
                     XCTAssertTrue(isFileExist, @"Failed to convert pdf 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.