Here\'s what I\'m trying to do. If you\'ve ever played Halo or CoD, you\'d know that you could change the name of a weapon load-out.
What I\'m doing is making it so you
Note that if you're using NSButton there is no setTitle
func, instead, it's a property.
@IBOutlet weak var classToButton: NSButton!
. . .
classToButton.title = "Some Text"
You can do:
button.setTitle("my text here", forState: .normal)
Swift 3 and 4:
button.setTitle("my text here", for: .normal)