Created
May 20, 2018 13:18
-
-
Save malcommac/60f8703b9597531a37d4a3c23e54543e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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