Another option, instead of creating a link to each button, is to create a subclass of type UIButton. Then you can set the properties in a subclass. Then you can change the class of all buttons in the storyboard that should have the same properties.
class MyButton: UIButton { override func draw(_ rect: CGRect) { super.draw(rect) layer.borderWidth = 1.0 layer.borderColor = UIColor.White layer.cornerRadius = 2 } }
source share