8000 GitHub - vunk93/PDFZoomKit
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vunk93/PDFZoomKit

 
 

Repository files navigation

PDFZoomKit

PDFZoomKit is a Swift framework a simple zoom tool that supports professional image enlargement

Requirements

  • iOS 13.0+
  • Xcode 12.0+
  • Swift 4.0+

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

To integrate PDFZoomKit into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'PDFZoomKit', :git => "https://github.com/AperoVN/PDFZoomKit.git", :tag => '1.0.1'

Then, run the following command:

$ pod install

Usage

Quick Start

import PDFZoomKit

class MyViewController: UIViewController {

    private var toolZoom: ToolZoomManager!

    override func viewDidLoad() {
        super.viewDidLoad()
        toolZoom = ToolZoomManager(viewPDF: pdfView, mainView: self.view, strokeColor: UIColor.red.cgColor)
    }
    
    func show() {
      toolZoom.showToolZoom(isShow: true) // True or false
    }

}

License

PDFZoomKit is released under the MIT license. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 91.5%
  • Ruby 7.9%
  • Objective-C 0.6%
0