Draw NSAttributedString in SpriteKit. Compatible only with iOS.
Just drag ASAttributedLabelNode.swift
to your project
let myLabel = ASAttributedLabelNode(size: scene.size)
myLabel.attributedString = myMutableString
scene.addChild(myLabel)
Draw NSAttributedString in SpriteKit. Compatible only with iOS.
Just drag ASAttributedLabelNode.swift
to your project
let myLabel = ASAttributedLabelNode(size: scene.size)
myLabel.attributedString = myMutableString
scene.addChild(myLabel)