import UIKit extension UIButton{ func cornerRadiusToCircle(){ self.layer.cornerRadius = self.bounds.size.height / 2 } }