PDFTouch SDK for iOS

PDFTouch SDK for iOS

A fast and customizable Objective-C framework for reading and rendering PDF files in iPhone and iPad apps. Build PDF reader apps or use it as a PDF viewer in your existing apps.

  • Language: Objective-C
    Framework: UIKit
    Platform(s): iPad, i
  • Released: Apr 12, 2012
    Last Update: Mar 18, 2014

Powerful Objective-C PDF Rendering for iPhone and iPad apps

Getting PDF rendering right on the iOS platform is difficult and time consuming. Memory constraints and slow CPU conditions make it very hard to achieve fast PDF rendering. The PDF Touch SDK is the result of months of development time and years of optimization, providing you with a mature and performant solution for adding PDF capabilities to your iPhone or iPad app.

PDFTouch SDK provides a robust framework that is easy to use and customize to your needs. With just a couple of lines of code you can create a PDF view controller and display it in your app. The user interface is very similar to the iBooks app and also features a grid display for page thumbnails. For more details please refer to the Features section below.

Newsstand solution for magazine publishers

Check out the iPad Book / Newsstand PDF starter Kit if you need a complete newsstand solution that works with PDFTouch SDK out of the box.

Download the FREE Trial now and see for yourself how simple it is to add PDF rendering functionality to your app.

PDFTouch SDK for iOS

Hide

Features & Package

Features

  • Fast multithreaded PDF rendering using Grand Central Dispatch.
  • Highly optimized caching algorithm.
  • Offline pre-rendering of pdf pages at different sizes integrated with the caching system.
  • Thumbnail grid display.
  • Pinch to zoom.
  • Double tap to zoom in and out.
  • Text search with highlighting.
  • Outline view (TOC).
  • Bookmarks.
  • Double page mode with left or right lead.
  • Page curl animations.
  • Retina Display ready.
  • Optimized for both the iPhone and iPad.
  • Includes a demo Xcode project demonstrating the common usage of the SDK's features.

Annotations Support

  • Page links
  • Web links
  • Mail links
  • Video
  • Audio
  • Maps
  • Web pages
  • Custom overlays

Package

  • Complete source code of PDFTouch SDK.
  • Demo Xcode project.
  • Documentation with integration instructions.
  • Technical appledoc style documentation.
Hide

Documentation

Code Documentation

All public classes of PDFTouch SDK are documented using appledoc. See the documentation for further information.

Requirements

The source code of PDFTouch SDK is developed on Xcode 5.0 with iOS Base SDK 7.0. PDFTouch SDK works on a deployment target of iOS 5 or greater on armv7 and armv7s and can be used in ARC and non-ARC projects.

Integration

PDFTouch SDK can be integrated in two ways into your app.

1. Add the binary PDFTouch.framework

  • Drag PDFTouch.framework into the "Frameworks" group of your Xcode project.
  • Add the required libraries as shown in the screenshot below.
  • Add PDFTouch.bundle to your projects resources as shown in the screenshot below.
  • Open the Build Settings tab and apply the following changes:
    • Other Linker Flags -> -all_load -ObjC
  • Add the following import statement everywhere you want to use PDFTouch SDK: #import <PDFTouch/PDFTouch.h> Binary

2. Add PDFTouch.xcodeproj as a dependency

  • Copy the whole PDFTouch folder into your project's root folder.
  • Drag PDFTouch.xcodeproj into the "Frameworks" group of your Xcode project.
  • Add PDFTouch as a target dependency.
  • Add the required libraries as shown in the screenshot below.
  • Add PDFTouch.bundle to your projects resources as shown in the screenshot below.
  • Open the Build Settings tab and apply the following changes:
    • Other Linker Flags -> -all_load -ObjC
    • Add the following paths to "Header Search Paths":
      • "PDFTouch/**"
  • Add the following import statement everywhere you want to use PDFTouch SDK: #import "PDFTouch.h" Source

Sample Usage

1. Create a YLDocument instance for the PDF file you want to display.

NSString *path = [[NSBundle mainBundle] PathForResource:@"Developers" withExtension:@"pdf"];
YLDocument *document = [[[YLDocument alloc] initWithFilePath:url] autorelease];

2. Create a YLPDFViewController instance and present it as a modal or child view controller.

YLPDFViewController *v = [[YLPDFViewController alloc] initWithDocument:document];
[v setDocumentMode:YLDocumentModeDouble];
[v setDocumentLead:YLDocumentLeadRight];
[v setPageCurlEnabled:YES];
[v setModalPresentationStyle:UIModalPresentationFullScreen];
[v setModalTransitionStyle:UIModalTransitionStyleCoverVertical];
[self.navigationController presentModalViewController:v animated:YES];
[v release];
You need to log-in or create an account
  • Create an account
  • Log-in

Please use your real name.

Activation link will be sent to this address.

Minimum 8 characters

Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

X

Save your watchlist

Fill your details below to receive project updates from your watch list - including new versions, price changes and discounts.

I agree to the terms of use and privacy policy.

3 licenses, starting from From » $749.99 View Licenses 14 day money-back guarantee
  • Excellent, well written component that saved us a lot of time. Also very active & responsive support.
    CF Christian Fruehwirth
    12 months ago, 0 comments
    Was this helpful?
    Flag 4 of 4 people found this review helpful
  • Awesome Product and very good support. Instantly getting help with all my little issues since iam not a professional coder.
    AP Andre Prior
    1 year ago, 0 comments
    Was this helpful?
    Flag 3 of 3 people found this review helpful
  • The component is very stable for being a fairly new release. I tried all the other open source pdf viewers and they all seemed to be filled with show stopping bugs. To integrate this pdf viewer it was a matter of 10 lines and a few Apple frameworks.
    BW Bryan Williams
    2 years ago, 0 comments
    Was this helpful?
    Flag 3 of 3 people found this review helpful
Post a comment

Or enter your name and Email
  • ME Mohammed Elkassas 1 week ago
    Hello, What are the custom overlays mentioned in the supported annotation? Thanks
  • JD jatline dela 3 weeks ago
    thanks
  • VS Vivek Shukla 4 weeks ago
    Hello Kemal, Is it possible to use a different navigation for pages other than the curl animation? Also we want to remove the boxed buttons for hyperlinks inside pages, and add a back navigation for hyperlinks (go to page). Would appreciate quick response. Thanks, Vivek
    • Kemal Taskin Developer 4 weeks ago
      Hi Vivek, You can disable page curl animation and just use the scrolling animation. To customize the link annotations please have a look at the documentation of YLLinkAnnotationView. If you implement the "willDisplayAnnotationView" delegate method of YLPDFViewController you can customize the appearance of link annotations before they are displayed.