Skip to content

LinusLing/LNSMagnifierView

Repository files navigation

LNSMagnifierView 🔎

CI Status Version License Platform

Example

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

demo

Parameters

  1. viewToMagnify:required for magnifying 🔎
  2. scale:magnification scale,default is 2.0
  3. offsetX:offset on x axis from view's center,default is 0.0
  4. offsetY:offset on y axis from view's center,default is 0.0
  5. needPlusSign:should add plus sign in the middle of magnifier,default is false
  6. outlineColor:border color of magnifier,default is lightGray
  7. outlineWidth:border line width of magnifier,default is 2.0
  8. size:size of magnifier,default is 100.0

Installation

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

pod 'LNSMagnifierView'

Author

LinusLing, linusling419@gmail.com

License

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