DesignableX icon indicating copy to clipboard operation
DesignableX copied to clipboard

9 code errors

Open jeedme opened this issue 7 years ago • 0 comments

hi brother,

I've coded the FloatingActionButton as you coded

`import UIKit

class FloatingActionButton: UIButtonX {

override func beginTracking(_ touch: UITouch, with event: UIEvent?) -> Bool {

    UIView.animate(withDuration: 0.3, animations: {
        if self.transform == .identity {
            self.transform = CGAffineTransform(rotationAngle: 45*(.pi/ 180))
        } else {
            self.transform = .identity
        }
    })
    
 return super.beginTrcking(touch,with: event)
}

override func endTracking(_ touch: UITouch?, with event: UIEvent?) {
}

}`

but i got a 9 code errors, i've analysed the files which i downloaded from your github and ovserved there is one missing file which is ( UIViewXRotatable.swift ).

could you please upload this file, it might be this is the issue.

jeedme avatar Sep 04 '18 23:09 jeedme