Latest 0.1.0
Homepage https://github.com/jamalping/XP_PDFReader
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

演示

演示.gif

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

XP_PDFReader is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'XP_PDFReader'

use

/// 加载网络PDF
let url = "http://www.gov.cn/zhengce/pdfFile/2018_PDF.pdf"

PDFReaderManage.shareInstance.openURL(.netWork(url: url), openType: .present(self))
/// 加载本地PDF文件
guard let localAdress = Bundle.main.path(forResource: "s3PreviewPDFdoid311538", ofType: "pdf") else {
    return
}
PDFReaderManage.shareInstance.openURL(.local(url: localAdress), openType: .present(self))

Author

jamalping, [email protected]

blog

https://www.jianshu.com/p/b05da7357261

License

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

Latest podspec

{
    "name": "XP_PDFReader",
    "version": "0.1.0",
    "summary": "PDF Reader of Swift",
    "description": "this is XP_PDFReader",
    "homepage": "https://github.com/jamalping/XP_PDFReader",
    "license": {
        "type": "MIT",
        "file": "FILE_LICENSE"
    },
    "authors": {
        "jamalping": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/jamalping/XP_PDFReader.git",
        "tag": "0.1.0"
    },
    "source_files": [
        "Classes",
        "XP_PDFReader/Classes/**/*"
    ]
}

Pin It on Pinterest

Share This