Skip to content
This repository has been archived by the owner on Jan 5, 2020. It is now read-only.

NNForegroundColorAttributeName does not react to mode change #22

Open
menicor opened this issue Jul 20, 2017 · 0 comments
Open

NNForegroundColorAttributeName does not react to mode change #22

menicor opened this issue Jul 20, 2017 · 0 comments

Comments

@menicor
Copy link

menicor commented Jul 20, 2017

let attributedString = NSMutableAttributedString(string: "NightNight")
attributedString.setMixedAttributes(
[NNForegroundColorAttributeName: MixedColor.init(normal: UIColor.green, night: UIColor.red)],
range: NSRange(location: 0, length: 5)
)
label.attributedText = attributedString

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant