Top "Nsattributedstring" questions

NSAttributedString objects manage character strings and associated sets of attributes (for example, font and kerning) that apply to individual characters or ranges of characters in the string.

Using Range<Index> with NSRange in the NSAttributedString API

I'm attempting to determine the indexes of occurrences of a given string in a String, then generate an NSRange using …

ios swift range nsattributedstring nsrange
NSAttributedString '\n' ignored

I have a single view whose only UI element is a UITextView. In viewDidLoad: I create an attributed string with "…

ios ios6 uitextview nsattributedstring end-of-line
Change color to attributedTitle in UIRefreshControl

I'm looking for a way to change color in UIRefreshControl. The text is shown in an NSAttributedString, so I try …

ios ios6 nsattributedstring uirefreshcontrol
Translate attributed string

I have a UILabel with an attributed string. Here is a printscreen of it: Now, I have to translate this …

ios xcode localization nsattributedstring nslocalizedstring