I\'m building an app using swift in the latest version of Xcode 6, and would like to know how I can modify my button so that it can have a rounded border that I could adjust mys
@IBOutlet weak var yourButton: UIButton! { didSet{ yourButton.backgroundColor = .clear yourButton.layer.cornerRadius = 10 yourButton.layer.borderWidth = 2 yourButton.layer.borderColor = UIColor.white.cgColor } }