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

githubdelegate/SwiftQuadrangleClipImage

Open more actions menu

Repository files navigation

ZYQuadrangleClipImageView

demo gif

Install

CocoaPods

 pod 'ZYQuadrangleClipImageView'

Usage

  override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        
        crop = ZYQuadRangleClipView()
        self.imv.addSubview(crop)
    }

    @IBAction func clipimgs(_ sender: Any) {
        if let cropimg =  self.crop.clipImage() {
            self.clipImv.image = cropimg
            UIView.animate(withDuration: 0.5) {
                self.clipImv.alpha = 1
                self.imv.alpha = 0
            }
        }
    }

About

clip image quadrangle

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

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