/Resizable

Primary LanguageSwiftBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Rotating, scaling and translating a view using drag handles with UIGestureRecognizers on them.

Dragging on the corner handles will resize the view from from the opposite corner. This adjusts the size of the view's frame.

Dragging on the rotate handle will adjust the CGAffineTransform rotation value of the view.

Dragging on the middle of the view will adjust the view's center position.