UIButton sublass for loading and transition animation.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
IvanGzx opened this issue 4 years ago · comments
init(frame: CGRect) { super.init() self.setToFrame(frame) // this line self.fillColor = nil self.strokeColor = spinnerColor.cgColor self.lineWidth = 1 self.strokeEnd = 0.4 self.isHidden = true }