I am trying to change the font of a UIButton using Swift...
myButton.font = UIFont(name: \"...\", 10)
However .font is depreca
.font
You should go through the titleLabel property.
titleLabel
button.titleLabel.font
The font property has been deprecated since iOS 3.0.
font