I am trying to change the font of a UIButton using Swift...
myButton.font = UIFont(name: \"...\", 10)
However .font is depreca
.font
If you need to change only size (Swift 4.0):
button.titleLabel?.font = button.titleLabel?.font.withSize(12)