Instantly share code, notes, and snippets.

Embed
What would you like to do?
let str = "Hello <h1>\(username)</h1>\nWelcome <h2>here!<h2>"
self.label?.styledText = str.set(style: StyleNames.myStyòe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment