A Static Library to be embedded on iOS applications to display pdf documents derived from Fast PDF

Related tags

PDF FastPdfKit
Overview

FastPdfKit


This repository contains the FastPdfKit iOS library with some sample projects.

FastPdfKit is a library that let you show pdf documents in iOS applications bypassing all performances and missing features problems related to QuickLook.

Side scrolling, search with highlighted results, preview and thumbnails, text extraction, overlay views, embedded multimedia, optimization for every device, single and double page are just some of countless features included in FastPdfKit.

For more information, see the FastPdfKit website and the Support website.

Interface iPad Search iPad

Interface iPhone Search iPhone

Features

Reading

Multimedia and Annotations

Kiosk

Text

Miscellanous

Opportunities

Targets

In the Xcode project you'll find some targets

  • FastPdfKit: framework with everything needed to add just the reader to your app;
  • FPKKioskApp: a Kiosk project with document download and ready to use reader class;
  • FPKSimpleApp: a basic project with custom reader;
  • FPKReaderLib: a static library with the ReaderViewControllerand its dependencies;
  • FPKKioskLib: a static library with the kiosk classes;
  • FPKioskBundle: bundle of resources for needed for the kiosk;
  • FPReaderBundle: bundle of resources for needed by the ReaderViewController.

In FastPdfKit.framework and FPKReaderLib the libFastPdfKit.athat contains the compiled core rendering engine.

All the other classes are public and can be customized or subclassed at will.

Every target can be compiled and recompiled for your needs.

Usage guide

This guide is also available as screencast number 4.

  • Clone the repository from github or just grab the compressed archive;

  • Open your existing project in Xcode;

  • Open the downloaded folder in the Finder and locate FastPdfKit.embeddedframework;

  • Drag the framework on the Xcode workspace;

  • Inherit the project options: select the Project an from info tab and configurations line choose FastPdfKitFramework from the drop down list;

  • Open the framework's Resource folder and locate the Snippets.txt document;

  • Copy in you controller interface these lines:

      #import <FastPdfKit/FastPdfKit.h>
      @class MFDocumentManager;
      -(IBAction)actionOpenPlainDocument:(id)sender;
    
  • Copy in your controller implementation these other lines:

      -(IBAction)actionOpenPlainDocument:(id)sender{
          /** Set document name */
          NSString *documentName = @"Manual";
    
          /** Get temporary directory to save thumbnails */
      	NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    
          /** Set thumbnails path */
          NSString *thumbnailsPath = [[paths objectAtIndex:0] stringByAppendingPathComponent:[NSString stringWithFormat:@"%@",documentName]];
    
          /** Get document from the App Bundle */
          NSURL *documentUrl = [NSURL fileURLWithPath:[[NSBundle mainBundle]pathForResource:documentName ofType:@"pdf"]];
    
          /** Instancing the documentManager */
      	MFDocumentManager *documentManager = [[MFDocumentManager alloc]initWithFileUrl:documentUrl];
    
      	/** Instancing the readerViewController */
          ReaderViewController *pdfViewController = [[ReaderViewController alloc]initWithDocumentManager:documentManager];
    
          /** Set resources folder on the manager */
          documentManager.resourceFolder = thumbnailsPath;
    
          /** Set document id for thumbnail generation */
          pdfViewController.documentId = documentName;
    
      	/** Present the pdf on screen in a modal view */
          [self presentModalViewController:pdfViewController animated:YES]; 
    
          /** Release the pdf controller*/
          [pdfViewController release];
      }
    
  • Choose a pdf from the finder and drop it in the project;

  • Change the documentName to the corresponding name;

  • Call the actionOpenPlainDocument method to open the document;

  • Enjoy.

Changelog

Update May 5th 2014

  • Renamed a few c functions to avoid conflicts.
  • Minor fixes.

Update April 28th, 2014

  • More stability fixes.

Update April 24th, 2014

  • Stability fixes.

Update August 30th, 2013

  • Added exact match option to search.
  • Added exact match and ignore case switch to SearchDisplayViewController.
  • Updated text extraction algorithm.

Update April 19th, 2013

  • Exposed pdf rendering settings.
  • Tweaks and bugfixes.

Update Novembre 27th, 2012

  • Added an xmlURL property to the Kiosk MenuViewController to customize the list without subclassing.
  • Security framework added in xcconfig.

Update November 26th, 2012

  • Improved handling of space glyph in the text
  • Bunch of small tweaks and fixes

Update October 2nd, 2012

  • Fixed a crash while reading certain documents annotations
  • Finally fixed layer shadow (again)
  • Fixed bad overflow mode page position with some documents
  • Sligthy changed starting page behavior, now the slider should update properly
  • Added a visited page system similar to web browser one, check the MFDocumentViewController.
  • You can now set the thumbnail and image cache folders

Update September 4th, 2012

  • Fixed missing iPhone toolbar images
  • Thumbnails are now JPEG
  • Added cache encryption, check MFDocumentViewController's cacheEncryptionKey for details. Security.framework is now REQUIRED.
  • Shadow offset now takes padding into account
  • Uninitialized rect in background op fixed

Update Augusth 30th, 2012

  • Solved rootViewController nil property for window in the app delegate (prevent correct behavior on iOS6)

Update Augusth 28th, 2012

  • Page shadows are back
  • Added cocoaAnnotationsForPage: method to MFDocumentManager to get more Cocoa-friendly annotations data from the pdf

Update 4.0 RC1 (Augusth 1st, 2012)

  • Fixed a bunch crash
  • Fixed a few memory leaks (one quite large)
  • If you dont see Chinese, Japanese or Korean text extracted, please download, unzip and add the CMaps for the language. You can get them here http://partners.adobe.com/public/developer/font/index.html
  • There are a few more options for the embedded thumbnail scroll view and page slider, and you can also choose the label for the individual page

Update 3.4.2 (June 28, 2012)

  • Fix for password protected documents not working anymore

Update 3.4.1 (June 2, 2012)

  • Removed some warnings;
  • Updated Extensions;
  • Fixed episodical crashes.

Update 3.4 (May 17, 2012)

  • Added a new pdf engine. It is enabled by default. You can switch back to the old version by untick the appropriate option in the Settings (this will be available until the final release). Feedback on performances is welcomed.

The new version will attempt to cache pdf page images. If no documentId is set in the MFDocumentViewController, the default folders are in Library/Caches/shared, otherwise the cache is located in Library/Caches/.

Default settings should provide good performance on all devices, from the first iPad to the new one. Thumbnails generation has been moved inside the lib. Customization options for the thumbnail scroll view will be available in the final version.

  • Fixed occasional crash with dual core devices on startup

Update 3.3.3 (March 23, 2012)

  • New rendering approach just for the new iPad (and its weak A5X CPU)
  • Page thumbnails created for Retina Display on the new iPad
  • Core Library built with Xcode 4.2 and iOS 5.0 to avoid poor performances caused by a (reintroduced) CATiledLayer.

Update 3.3.2 (March 14, 2012)

  • Alternate uri definition for modal annotations

Update 3.3.1 (March 13, 2012)

  • Added a supportedOrientation attribute to allow change of supported orientation at runtime
  • Added alternate schemes (prefixes) for annotations' uri

Update 3.3 (March 8, 2012)

  • Improved support for the new retina iPad
  • Fixed (contained) a crash occurring when the pdf provokes a transform stack buffer underflow

Update 3.2.4 (January 30, 2012)

  • Changed font cache again. This should avoid a few cases of creshes due to an NULL font name;

Update 3.2.3 (January 24th, Tuesday, 2012)

  • Removed a few debugging logs
  • Added support to remote link in the ToC/Outline
  • Internal document links work again

Update 3.2.2 (January 13th, Friday, 2012)

  • Fixed tiled overlay view flag being ignored
  • Removed unneeded operator in the pdf scanner
  • Changed pdf detail view timings

Update 3.2.1 (January 5th, 2012)

  • Less aggressive tiled view rendering
  • Fixed a bug in the glyph name matching function
  • Better caching of annotations
  • Removed a few more synchronization point between main thread and worker th

Update 3.2 (January 4th, 2012)

  • New Extended target that supports Extensions;
  • Out of the box supported Extensions:
    • FPKPayPal to create catalogs with items that can be purchased directly from the app;
    • FPKYouTube to place YouTube video on the page.
    • FPKGallerySlide interactive image gallery with manual or automatic advancement;
    • FPKMap to render an interactive google map;
    • FPKGalleryFade image gallery useful for the table of contents;
    • FPKGalleryTap to create a multi interactive image gallery;
    • FPKMessage to show details or alerts;
    • FPKWebPopup to open a web page in a popup view;
  • Updated documentation to version 3.2
  • Included Extensions documentation

For more informations reagarding Extensions git.io/fpke.

Update 3.1.3 (December 30th, 2011)

  • Reworked page metrics synchronization to reduce lag on slow pdfs (more to come).
  • Paged scroll view attribute is accessible again in the MFDocumentViewController public interface.
  • FPK annotations parsing can be disabled by setting MFDocumentViewController's fpkAnnotationsEnabled to NO. Use this if you experience frequent freezes while skimming the pages.
  • You can add multiple MFDocumentViewControllerDelegates by calling MFDocumentViewController's addDocumentDelegate: (and removeDocumentDelegate:). Check the interface for details

Update 3.1.2 (December 16th, 2011)

  • Non-unlocked password protected douments should no more crash the application.
  • Cordinates for taps on the right page are now correct.
  • Fixed a bug involving multibyte fonts compromising search, introduced with unicode normalization.
  • Few memory leaks in ReaderViewController.
  • Overlay views are enbaled on any license again.
  • Newstand is disabled as default due to a memory leak in the download procedure.
  • Variable number of preview image. Check MFDocumentViewController header.

Update 3.1.1 (November 30th, 2011)

  • View size of the reader is now appropriate for the screen configuration (status bar only).
  • Added missing dismiss button in ReaderViewController on iPhone.

Update 3.1 (November 30th, 2011)

  • Reverted to optional tiled overlay view (used for search resulth highlight). This seems to have fixed most 'crashes' (app bein killed actually) while zooming onto a page.
  • A few memory leaks inside the unicode normalization data structures have been fixed.
  • Different handling of document view controller dismissal. It is no more necessary to call -cleanup on the MFDocumentViewController before relasing it. Actual method implementation does nothing.
  • Quite a few small memory leaks fixed.
  • Faster page redrawn on page transition (goToPage, setPageMode, etc.).
  • MFHomeListPdfs is now BookItemView, be careful if you used to subclass the former in your project.
  • Fixed a few errors in Win ANSI and Mac OS Roman encoding. For example, the Unicode character 'LEFT SINGLE QUOTATION MARK' U+2018 will no more be replaced by other characters.
  • Changed font cache management. If you still get problem with [] (notedef) caracter in the text extracted, the cache might be the issue. Set MFDocumentManager's fontCacheEnabled property to NO.
  • Unicode sequences will now be handled as such and the lib will no try (and fail) to compose them to a single unicode codepoint (it is related to search and extraction of text).
  • Lib will now attemp to compose multibyte characted to a single codepoint for search and extraction.
  • Added support to 14 (-2) Adobe Standard Fonts. If you get page empty, blank pages at text extraction check the simulator log and if the font marked as uncompleted is named like one of the files in the FPKCore/standard14fonts folder add that font to your application bundle.
  • Font cache re-enabled. This time seems to work as expected.
  • Default zoom not being set fixed (again).
  • Search and extraction will not crash when certain characters are found. Instead a .notdef (usually it looks like an empty rect) value with be appended to the text.
  • Enhanced search and extraction with Unicode composition and decomposition.
  • Added search match modes:
    • Return an array of MFTextItem representing the matches of teh search term on the page passed as arguments. It is a good choice running this method in a secondary thread.
    • FPKSearchMode has the following values:
    • FPKSearchModeHard - if you search for 'bèzier' it will match 'bèzier' only but not 'bezier'. If you search for 'bezier' it will match 'bezier' only.
    • FPKSearchModeSoft - if you search for term 'bèzier' it will match both 'bezier' and 'bèzier'. Same if you search for 'bezier'.
    • FPKSearchModeSmart - if you search for term 'bezier', it will also match 'bèzier', but if you search for 'bèzier' it will match 'bèzier' only.
    • Ignore case is self explanatory.
    • Default parameters are FPKSearchModeSmart and ignoreCase to YES.

Update 3.0 (November 4th, 2011)

  • Internal changes of the view hierarchy to provide more flexibility and overlay transitions.
  • Revamped ReaderViewController user interface.
  • Better thumbnail scroll view and generation.
  • Added support to video overlay control parameters in the uri.
  • Search now works for terms of unitary length.
  • Added a method to retrieve annotations from the document and provide them as overlays.
  • Slightly changes to MFDocumentViewControllerDelegate callbacks.
  • New activation method with key FPKLicenseKey from Info.plist: no need to pull to get the activated version.

Update 2.1.3 (September 27th, 2011)

Disabled the 2.1.1 font cache due to an implementation oversight. Will be re-introduced as soon as it will behave as expected.

Update 2.1.2 (September 21th, 2011)

  • Cleaned up text search and extraction a little bit. More fixes incoming.

Update 2.1.1 (September 15th, 2011)

  • Added a font cache system for text extraction and search, which should give sensible improvement in search speed especially on documents with a large amount of different fonts.

Update 2.1.0 (September 14th, 2011)

  • Added Overflow page mode to previous Single and Double. Basically, the pdf page will now fill the screen along its width, overflowing under the bottom of the screen if necessary.
  • Added autoMode property. It will tell the MFDocumentViewController to what mode switch when in landscape if automodeOnRotation is YES. Default is MFAutoModeDouble, other option are MFAutoModeSingle and MFAutoModeOverflow.

Update 2.0.3 (August 10th, 2011)

  • Fixed a bug in the transformation returned on double page mode for page with an angle not equal to 0.
  • Added guard to iOS 4.x only methods.

Update 2.0.2 (August 09th, 2011)

  • Added support to link annotation with Remote Go-To actions.
  • Updated manual with latest methods.
  • Added methods to convert points and rect to and from different coordinate systems. Take a look at the MFDocumentViewController for details.
  • Documented the method to get the cropbox and rotation angle for each document page.
  • Finally fixed the bad behavior of the detail (tiled) view on retina device.
  • Fixed a bug involving rendering of the preview pages at low res on retina display introduced a few updates ago.
  • The -didGoToPage callback is now called once when a page is changed on user scroll input.

Update 2.0.1 (July 21th, 2011)

  • Bleeding of the pdf cover images fixed.
  • The embedded UIWebView is now embedded a bit better.

Update 2.0.0-devel (July 12th, 2011)

  • Multimedia support
  • Reorganized project
  • Many other improvements

If you have any other question please post it in the Support Site

Comments
  • PDF Rendering slow for iPad 3

    PDF Rendering slow for iPad 3

    Hi Macteo,

    Here is the problem I am having. Given that the FastPDFKit PDF document view controller is running in a subview (mind you at fullscreen) and has the following settings:

    documentViewController.zoomInOnDoubleTapEnabled = YES; documentViewController.showShadow = YES; documentViewController.startingPage = currentPage; documentViewController.automodeOnRotation = YES; documentViewController.pageFlipOnEdgeTouchEnabled = YES; documentViewController.padding = 0; documentViewController.previewsCount = 6; [documentViewController setAutoMode:MFDocumentAutoModeOverflow]; documentViewController.documentInteractionEnabled = YES; documentViewController.view.frame = CGRectMake(0,0, self.view.frame.size.width, self.view.frame.size.height + kNavigationBarHeight); documentViewController.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; documentViewController.view.clipsToBounds = YES;

    When initializing the controller the previewCount cache variable seems to handle the consecutive rendering of pages. The problem mostly happens when setting an arbitrary page via [documentViewController setPage:pageNum]; method. The rendering of the specific page happens fairly quickly and the delegate willfocus and didfocus do get called almost immediately but when swiping or tapping the outer regions of the page the previous or next pages require 5-7 seconds to render even though the delegates get called normally as if the page is rendered - this then happens for each page after this arbitrary page change unless you wait on the currently rendered page for 5-7 seconds for the cache thread to catch up (not sure if I am right here but it's just a guess).

    opened by mikecules 19
  • automodeOnRotation causing missing pages in ReaderViewController

    automodeOnRotation causing missing pages in ReaderViewController

    When rotating an iPad while viewing a multi-page PDF with automodeOnRotation enabled, it is causing the reader to lose some pages when rotated into portrait mode. For example, if you have a 2-page PDF, load the app in portrait mode, then rotate to landscape, then back to portrait, you'll see that the second page is no longer visible.

    opened by joshtimonen 2
  • Frequent crashes on dismissMiniSearchView

    Frequent crashes on dismissMiniSearchView

    Hi I've been experiencing intermittent but frequent crashes related to dismissing of certain views, it's most frequent with the dismissMiniSearchView when closing the minisearchview and it crashes with a similar exception even when dismissing the main modal view (FYI I'm pushing the pdf viewer into the navigation controller stack instead of displaying it as a modal view, here's the implementation - [[self navigationController] pushViewController:pdfViewController animated:YES]; Also, pdfViewController simple extends DocumentViewController_Kiosk and overrides loadView)

    The debugger generally breaks at:

    -(void)handleSearchGotCancelledNotification:(NSNotification *)notification { // Setup the view accordingly.

    [documentDelegate dismissMiniSearchView];
    

    }

    Debug info:

    2011-08-22 12:33:39.563 Forums[39887:12503] SVC didLoad 2011-08-22 12:34:01.534 Forums[39887:12503] SVC dealloc 2011-08-22 12:34:08.621 Forums[39887:12503] SVC didLoad 2011-08-22 12:34:14.243 Forums[39887:12503] -[NSPathStore2 dismissMiniSearchView]: unrecognized selector sent to instance 0x62d27c0 2011-08-22 12:34:14.285 Forums[39887:12503] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSPathStore2 dismissMiniSearchView]: unrecognized selector sent to instance 0x62d27c0' *** Call stack at first throw: ( 0 CoreFoundation 0x019ca5a9 exceptionPreprocess + 185 1 libobjc.A.dylib 0x01b1e313 objc_exception_throw + 44 2 CoreFoundation 0x019cc0bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187 3 CoreFoundation 0x0193b966 __forwarding + 966 4 CoreFoundation 0x0193b522 _CF_forwarding_prep_0 + 50 5 Forums 0x00025494 -[MiniSearchView handleSearchGotCancelledNotification:] + 68 6 Foundation 0x0138e669 _nsnote_callback + 145 7 CoreFoundation 0x019a29f9 __CFXNotificationPost_old + 745 8 CoreFoundation 0x0192193a _CFXNotificationPostNotification + 186 9 Foundation 0x01384306 -[NSNotificationCenter postNotification:] + 210 10 Forums 0x000295a2 -[SearchManager cancelSearch] + 338 11 Forums 0x000255c0 -[MiniSearchView actionCancel:] + 160 12 UIKit 0x00c1c4fd -[UIApplication sendAction:to:from:forEvent:] + 119 13 UIKit 0x00cac799 -[UIControl sendAction:to:forEvent:] + 67 14 UIKit 0x00caec2b -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 527 15 UIKit 0x00cad7d8 -[UIControl touchesEnded:withEvent:] + 458 16 UIKit 0x00c40ded -[UIWindow _sendTouchesForEvent:] + 567 17 UIKit 0x00c21c37 -[UIApplication sendEvent:] + 447 18 UIKit 0x00c26f2e _UIApplicationHandleEvent + 7576 19 GraphicsServices 0x02403992 PurpleEventCallback + 1550 20 CoreFoundation 0x019ab944 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 52 21 CoreFoundation 0x0190bcf7 __CFRunLoopDoSource1 + 215 22 CoreFoundation 0x01908f83 __CFRunLoopRun + 979 23 CoreFoundation 0x01908840 CFRunLoopRunSpecific + 208 24 CoreFoundation 0x01908761 CFRunLoopRunInMode + 97 25 GraphicsServices 0x024021c4 GSEventRunModal + 217 26 GraphicsServices 0x02402289 GSEventRun + 115 27 UIKit 0x00c2ac93 UIApplicationMain + 1160 28 Forums 0x00002909 main + 121 29 Forums 0x00002885 start + 53 ) terminate called throwing an exceptionCurrent language: auto; currently objective-c

    opened by comoscm 2
  • FastPdfKit Logo

    FastPdfKit Logo

    Hello,

    i have just download and started working on example of fastpdf given in github, but when i load any pdf, it is first showing the Logo of fast pdf including url of fastkit.com and fastkit.au.

    how can i hide that logo and directly load pdf.

    any help will be appreciable , please help me asap.

    Thank you.

    opened by SandipRudani 2
  • SearchViewController remains visible

    SearchViewController remains visible

    1. Open pdf
    2. Tap "search" button
    3. Tap "close" button.

    Pdf is gone, but SearchViewController is visible.

    I add

    
    

    on 521 line in DocumentViewController_Kiosk.m but there is another issue.

    1. Open pdf
    2. Tap "search" button
    3. Tap "close" button.
    4. Open the same pdf again
    5. Tap "search" button
    6. Enter any phrase and try to search. App is crashing.
    opened by macteo 2
  • Bookmark is not saved if bookmark view is not dismissed with

    Bookmark is not saved if bookmark view is not dismissed with "Done"

    When I add a new bookmark with the (+) button, a new bookmark with the current page appears in the list. But when I click anywhere else and not "done", the bookmark is not saved.

    opened by jan-happy 2
  • iOS7 Appstore Validation Warning which may cause App to be Rejected

    iOS7 Appstore Validation Warning which may cause App to be Rejected

    The App Store Validator is complaining about the occurrence of "lines" using a non-public API which is pointing to your libFastPdfKit.a lib.

    Executing....

    find . | grep -v .svn | grep ".a" | grep -v ".app" | xargs grep lines

    Produces the output...

    Binary file ./FastPdfKit/FPKCore/libFastPdfKit.a matches

    opened by mikecules 1
  • Randomly shows other document's pages

    Randomly shows other document's pages

    This is a random, and uncommon bug but it is reported by customers. Sometimes a document will show the first page of another document that was opened, sometimes other pages from other documents as well.

    This has only started happening after the last upgrade.

    No known trigger or pattern, and it is hard to reproduce.

    Also an the thumbnail strip below the pdf, the first page is from another document. Not sure i this is related, but that is more reproducible. Reported from an iPhone 5.

    opened by Quarky 1
  • Unable to extract text from PDF

    Unable to extract text from PDF

    Hello mobfarm,

    When I try to extract the text from this pdf: www.flitelinesoftware.com/example.pdf

    I get a result like this:

    ( "#!   (! % ;!"!< ;9 & < ((((((  ((((((  #   ##!#!
     !' !#! ?#!="!3    $# !      !' ;  & < ((((((!!"(((   9!! !!!! ; < 27+,08!"   

    ,HD

    Any ideas on how I can get the correct text?

    Regards,

    Ron

    opened by planesandunicorns 1
  • fetching problem to run the  app store source code properly

    fetching problem to run the app store source code properly

    hi, There from app store every functions and annotations are working but when I download the source code and run it on xcode some annotations are not working well like image gallery. i would be glad if there is any suggetion ....!!!!!!!

    opened by ahammadfekri 1
  • Bookmarks and Thumbnails not relevant to the document

    Bookmarks and Thumbnails not relevant to the document

    I have a UITableViewController that directly initialises DocumentViewController_Kiosk by passing an instance of MFDocumentManager. Weird issue I'm facing is bookmarks and thumbnails are being shared across documents. I.e. if I bookmark page 20 in A.pdf then, go back to the TableView and open B.pdf then page 20 appears in bookmarks for B.pdf even if B.pdf has just 5 pages. Also the bottom preview shows an accumulated list of thumbnails rather thanks showing thumbnails for the current doc.

    I'm considering purchasing a license, need to get past this issue first!

    Cheers, Zuhair

    opened by comoscm 1
  • Wrong result from wholeTextForPage

    Wrong result from wholeTextForPage

    Hi, I am try to extract text from pdf book, but I got incorrect result. Method wholeTextForPage miss some characters. For example: library skip character "i" and I got "scientifc" and not "scientific"

    Document3.pdf

    opened by RachenkoViacheslav 0
  • Wrong point when touch after scroll a page

    Wrong point when touch after scroll a page

    Hi there, when we open a pdf and touch a point it giving right point coordinates. by -(void) documentViewController:(MFDocumentViewController *)dvc didReceiveTapAtPoint:(CGPoint)point but after scroll a page it not provide the xact point . this give point under 768, but my page go around 900 deep. any suggestion.

    Thanks in Advance. maahi

    opened by maahi22 0
  • Is this still supported?

    Is this still supported?

    I noticed someone saying this was going to be discontinued, but I still see commit activity for the repo just trying to figure out the status of the library

    opened by LandonS23 0
  • Added method to validate user search input, preventing app crash

    Added method to validate user search input, preventing app crash

    isSearchTermValid can run a series of validations on the search term before searching. Currently only validating against searching single or multiple blank spaces. This prevents against an app crash. #82

    opened by gotomanners 0
  • Bug: crashing on item button when search result is empty and no back button on search screen

    Bug: crashing on item button when search result is empty and no back button on search screen

    hello team fastpdf kit you have done a great job, there is only two issues in it when i click on search icon then on search screen there is back button and if we search something which is not in the document and then press item button it crashes the app.. kindly guide me if i am doing something wrong..

    thanks

    opened by Minhaj-ali 0
PdfBuilder: a swift library made to make creation of the Pdf file from code simpler

PdfBuilder PdfBuilder is a swift library made to make creation of the Pdf file f

null 4 Jul 22, 2022
PDF Reader Core for iOS

PDF Reader Core for iOS This project is no longer supported or maintained. It is only here for historical reasons. Please see the UXReader PDF Framewo

Julius Oklamcak 4.3k Sep 7, 2022
TPPDF is a simple-to-use PDF builder for iOS

TPPDF is a fast PDF builder for iOS & macOS using simple commands to create advanced documents! Created and maintained by Philip Niedertscheider and a

techprimate 566 Sep 18, 2022
Small utility to import PDF slides as vector images into Keynote for iOS.

Small utility to import PDF files into Keynote for iOS. This utility is especially helpful when presenting slideshows created by LaTeX

Luming Yin 6 Jun 14, 2022
Draw Week Time Table on PDF using PDFKit in iOS Swift

DrawPDFTimeTable Draw Week Time Table on PDF using PDFKit in iOS Swift. Image Info This is the pdf of time table drawn using PDFKit in iOS Swift with

Kushagra Chandra 5 May 31, 2022
A simple generator of PDF written in Swift.

Features | Requirements | Installation | Usage | Communication | LICENSE PDFGenerator PDFGenerator is a simple PDF generator that generates with UIVie

Suguru Kishimoto 707 Aug 28, 2022
SimplePDF is a wrapper of UIGraphics PDF context written in Swift.

SimplePDF is a wrapper of UIGraphics PDF context written in Swift. You can: add texts, images, spaces and lines, table set up page layout, adjust cont

Nutchaphon Rewik 238 Jul 31, 2022
PDF generator using UIViews or UIViews with an associated XIB

Description Create UIView objects using any method you like, including interface builder with Auto-layout and size classes enabled. Then generate a PD

null 33 Aug 28, 2020
Generate beautiful .pdf Files from xib

Description The Library generates a PDF directly from interface builder with Auto-layouted views! Swift Version of UIView_2_PDF. Installation Download

Simon C. Krüger 15 Sep 23, 2021
UIImage PDF extensions.

UIImagePlusPDF UIImage extensions to use PDF files. Using UIImagePlusPDF you can avoid a lot png images files (1x, 2x, 3x sizes) and simply replace ea

Dmytro Mishchenko 34 Jan 25, 2022
Estrutura Simples para Navegacao Web e Download PDF

Download-PDF-WebView Projeto desenvolvido em Swift com a função de criar uma estrutura simples para navegação Web em seu Aplicativo, permitindo a visu

Josué Rodrigues 1 Nov 30, 2021
Mephisto - A command line tool to convert Comic Book Zip archives to PDF and share them over AirDrop

mephisto A command line tool written in Swift to convert Comic Book Zip archives

null 0 Feb 7, 2022
Swift package that uses WebKit to render PDF files from URLs

Swift package for generating a PDF file from a URL (rendered by WebKit)

aaronland 1 Feb 25, 2022
PLHKit: A Swift DSL for Rendering and creating PDF Files.

PLHKit PLH is a tribute to Portsaid Light House, Port Said Lighthouse was the first building in the world created with reinforced concrete. ?? PLHKit

null 10 Sep 2, 2022
About PDFKit learning project on iOS 11, Like iBooks.app.

iBook About PDFKit learning project on iOS 11, Like iBooks.app. 书库 书库页面获取PDF相关数据, 可以通过KVC获取。 PDF书名 if let title = documentAttributes["Title"] as? Stri

Jovins 31 Sep 15, 2022
📚 A Swift ePub reader and parser framework for iOS.

FolioReaderKit is an ePub reader and parser framework for iOS written in Swift. Features ePub 2 and ePub 3 support Custom Fonts Custom Text Size Text

FolioReader 2.5k Sep 21, 2022
An iOS PDF viewer and annotator written in Swift that can be embedded into any application.

Requirements iOS 9 or above Xcode 8 or above Swift 3.0 Note This project is still in early stages. Right now the PDF reader works both programmaticall

UXM Studio 267 Jul 4, 2022
A general purpose embedded hierarchical lock manager used to build highly concurrent applications of all types. Same type of locker used in many of the large and small DBMSs in existence today.

StickyLocking StickyLocking is a general purpose embedded lock manager which allows for locking any resource hierarchy. Installable Lock modes allow f

Sticky Tools 2 Jun 15, 2021
GCDWebServer is a modern and lightweight GCD based HTTP 1.1 server designed to be embedded in iOS, macOS & tvOS apps.

GCDWebServer is a modern and lightweight GCD based HTTP 1.1 server designed to be embedded in iOS, macOS & tvOS apps. It was written from scr

Pierre-Olivier Latour 6.2k Sep 21, 2022
Library for scanning documents via MRZ (Machine Readable Zones) using  Vision API

MRZScanner Library for scanning documents via MRZ using  Vision API. Example The example project is located inside the Example folder. To run it, you

App in the Air 45 Sep 12, 2022