asposecloudsdk 1.1.1

asposecloudsdk 1.1.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jul 2015

Maintained by Muhammad Sohail Ismail.



  • By
  • Muhammad Sohail Ismail

This SDK makes it easy for iOS developers to work with Word documents, Spreadsheets, Presentations, Adobe PDFs, OpenDocument formats, barcodes, OCR and email formats and protocols in their apps.

Common Uses

  • Convert Microsoft Word, Excel, PowerPoint, Acrobat PDF, OpenDocument and many other formats
  • Convert documents to images
  • Perform mail merge
  • Generate reports using mail merge
  • Excel reporting - build dynamic Excel reports on the fly
  • High-fidelity Excel rendering
  • Create new PDF documents using the product API
  • Transform an XML document into PDF file
  • Convert an image file to PDF
  • Create new slides
  • Add text to shapes
  • Replace or extract text from PDF files
  • Remove, replace or extract images from PDF files
  • Generate barcode images and save to stream or image file
  • Recognize barcodes from stream or image file
  • Extract text from images

How To Get Started

Install via CocoaPods - This is the recommended approach as CocoaPods handles the linker flags, header paths, and download of source code dependencies on your behalf. CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects.

Step 2: Create a Podfile

Project dependencies to be managed by CocoaPods are specified in a file called Podfile. Create this file in the same directory as your Xcode project (.xcodeproj) file:

$ touch Podfile
$ open -a Xcode Podfile

You just created the pod file and opened it using Xcode! Ready to add some content to the empty pod file?

Copy and paste the following lines into the editor window:

platform :ios, '5.0'
pod 'asposecloudsdk', '~> 1.1'

You shouldn’t use TextEdit to edit the pod file because TextEdit likes to replace standard quotes with more graphically appealing quotes. This can cause CocoaPods to get confused and display errors, so it’s best to just use Xcode or another programming text editor.

Step 3: Install Dependencies

Now you can install the dependencies in your project:

$ pod install

From now on, be sure to always open the generated Xcode workspace (.xcworkspace) instead of the project file when building your project:

$ open <YourProjectName>.xcworkspace

Step 5:

Sign up with Aspose Cloud service at: https://cloud.aspose.com/SignUp

Step 6:

Create a new App and get your App SID and App Key

Step 7:

Import AsposeAPIs.h header file in your class.

#import "AsposeAPIs.h"

Step 8:

Call setAppKey:andAppSID: class method of ASPOSEApp with your App SID and App Key as an arguments to this method.

[ASPOSEApp setAppKey:@"xxxxxxxxxxxxxx" andAppSID:@"xxxxxxxxxxxxxxx"];

Step 9:

Set the base product URI to http://api.aspose.com/v1.1 by calling setBaseProductUri: class method of ASPOSEProduct.

[ASPOSEProduct setBaseProductUri:@"http://api.aspose.com/v1.1"];

Step 10: Dive In!

At this point, everything's in place for you to start using Aspose for Cloud iOS SDK.

Unit Tests

AsposeCloudSDK includes a suite of unit tests within the AsposeCloudSDKTests subdirectory. These Unit Tests also serves as examples of how to use the AsposeCloudSDK.

Contact

Your feedback is very important to us. Please email us all your queries and feedback at [email protected].

License

AsposeCloudSDK is available under the MIT license. See the LICENSE file for more info.