Latest 0.0.1
Homepage https://github.com/HackingGate/HGPDFKit
License MIT
Platforms ios 11.3
Authors

HGPDFKit GitHub license

Apple PDFKit extension in Swift

Usage

UIScrollView

You can directely access pdfView’s scrollView by

pdfView.scrollView?

Auto zoom

Auto zoom in or out

pdfView.autoZoomInOrOut(location: sender.location(in: "location you want to zoom"), animated: true)

Is it zoomed in?

pdfView.isZoomedIn

RTL (Right to Left)

Change to RTL

pdfView.transformViewForRTL(true, pdfThumbnailView)

Is it chnaged to RTL?

pdfView.isViewTransformedForRTL

Requirement

iOS 11.3
Swift 4

Acknowledgement

BookReader

Website: https://github.com/kishikawakatsumi/BookReader
License: MIT

Latest podspec

{
    "name": "HGPDFKit",
    "version": "0.0.1",
    "summary": "Apple PDFKit extension in Swift",
    "homepage": "https://github.com/HackingGate/HGPDFKit",
    "license": "MIT",
    "authors": {
        "HackingGate": "[email protected]"
    },
    "platforms": {
        "ios": "11.3"
    },
    "swift_version": "4.2",
    "source": {
        "git": "https://github.com/HackingGate/HGPDFKit.git",
        "tag": "0.0.1"
    },
    "source_files": "Source/*.swift"
}

Pin It on Pinterest

Share This