LukeTerzich LukeTerzich - 1 year ago 191
Swift Question

Programmatically Make a SKLabelNode Bold in swift

As the title states - I would like to make my

bold programmatically.

How do I go about this?

Answer Source

For SKLabelNode's you need to use:

var labelNode = SKLabelNode()
labelNode = SKLabelNode(fontNamed: "AvenirNext-Bold")


var labelNode = SKLabelNode()
labelNode.fontName = "AvenirNext-Bold"