levantAJ / AdjustableView

Draggable & Resizable UIView at the same time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pod Version Pod Platform Pod License

AdjustableView

Draggable & Resizable UIView at the same time

giphy

Requirements

  • iOS 9.0 or later
  • Xcode 11.0 or later

Install

Installation with CocoaPods

pod 'AdjustableView', '1.0'

Build Project

At this point your workspace should build without error. If you are having problem, post to the Issue and the community can help you solve it.

How to use:

import AdjustableView
class YourView: AdjustableView {}

To handle additional tasks when events changed:

yourView.onDragingStarted = {}
yourView.onDragingEnded = {}
yourView.onFrameChanged = { frame in
}

Author

Communication

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Licenses

All source code is licensed under the MIT License.

About

Draggable & Resizable UIView at the same time

License:MIT License


Languages

Language:Swift 72.0%Language:Ruby 15.8%Language:Objective-C 12.2%