I\'m trying to animate a custom UIView but it gives me the error: Static member \'animate\' cannot be used on instance of type \'Tyle\'
This is my class:
animate is a static method. So it should be
animate
UIView.animate(withDuration: 0.5, delay: 0.3, options: [.repeat, .curveEaseOut, .autoreverse], animations: { }, completion: nil)