We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Is it support nested tags? For example:
<red><13>SomeText</13></red>
Thanks!
The text was updated successfully, but these errors were encountered:
Yeah for sure, but tag must start with a letter and not a number.
let baseStyle = Style { $0.font = UIFont.systemFont(ofSize: 20) $0.color = UIColor.black } let redStyle = Style { $0.color = UIColor.red } let pt13Style = Style { $0.font = UIFont.systemFont(ofSize: 13) } let group = StyleGroup(base: baseStyle, ["red": redStyle,"p13": pt13Style]) self.textView?.attributedText = "Hello <red><p13>World</p13></red>, Welcome In!".set(style: group)
Sorry, something went wrong.
#46 Documentation in ReadMe
2408ed9
malcommac
No branches or pull requests
Hi,
Is it support nested tags? For example:
<red><13>SomeText</13></red>
Thanks!
The text was updated successfully, but these errors were encountered: