Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

yokurin/DragRotateScaleView

Open more actions menu

Repository files navigation

DragRotateScaleView

Draggable, Rotatable, Scalable View

Version License Platform

Example

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

Open Example/DragRotateScaleView.xcworkspace and run DragRotateScaleView-Example to see a simple demonstration.

DragRotateScaleViewDelegate

protocol DragRotateScaleViewDelegate: class {
    func willPanGesture(_ sender: UIPanGestureRecognizer, view: DragRotateScaleView)
    func didPanGesture(_ sender: UIPanGestureRecognizer, view: DragRotateScaleView)

    func willPinchGesture(_ sender: UIPinchGestureRecognizer, view: DragRotateScaleView)
    func didPinchGesture(_ sender: UIPinchGestureRecognizer, view: DragRotateScaleView)

    func willRotateGesture(_ sender: UIRotationGestureRecognizer, view: DragRotateScaleView)
    func didRotateGesture(_ sender: UIRotationGestureRecognizer, view: DragRotateScaleView)

    func doubleTapGesture(_ sender: UITapGestureRecognizer, view: DragRotateScaleView)

    func longPressGesture(_ sender: UILongPressGestureRecognizer, view: DragRotateScaleView)
}

Requirements

  • iOS 8.0+
  • Xcode 10.0+
  • Swift 4.2+

Installation

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

pod 'DragRotateScaleView'

Author

Tsubasa Hayashi, yoku.rin.99@gmail.com

License

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

About

Supports Drag, Rotate, Scale. Easy to implement Draggable, Rotatable and Scalable View.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.