Appending Attributed Strings and bold text in Swift

suggest change
let someValue : String = "Something the user entered"     
let text = NSMutableAttributedString(string: "The value is: ")
text.appendAttributedString(NSAttributedString(string: someValue, attributes: [NSFontAttributeName:UIFont.boldSystemFontOfSize(UIFont.systemFontSize())]))

The result looks like:

The value is: Something the user entered

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents