/OTResizableView

OTResizableView is a UIView library that can be resized with fingers.

Primary LanguageSwiftMIT LicenseMIT

OTResizableView

Description

OTResizableView is a UIView library that can be resized with fingers.

Features

・Resize

・Keep aspect resize

・Move

・Change color

Demo

OTResizableVIewDemo.gif

Usage

import OTResizableView

let resizableView = OTResizableView(contentView: yourView)
resizableView.delegate = self;
        
// If you want to change resizableView colors, you can customize here.

view.addSubview(resizableView)

Install

CocoaPods

Add this to your Podfile.

pod 'OTResizableView'

Carthage

Add this to your Cartfile.

github "PKPK-Carnage/OTResizableView"

Help

If you want to support this framework, you can do these things.

  • Please let us know if you have any requests for me.

    I will do my best to live up to your expectations.

  • You can make contribute code, issues and pull requests.

    I promise to confirm them.

Licence

MIT

Author

PKPK-Carnage🦎