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.

UIPickerView won't allow changing font name and size via delegate's `attributedTitleForRow...`

I use the following func to change the font color and font size, the color works but the font name …

cocoa fonts size uipickerview nsattributedstring
Cannot convert value of type '[String : AnyObject]?' to expected argument type '[NSAttributedStringKey : Any]?'

How to convert values of type '[String : AnyObject]?'to expected argument type '[NSAttributedStringKey : Any]?'? open class func …

swift nsattributedstring swift4 nsattributedstringkey
UITextView: Disable selection, allow links

I have a UITextView which displays an NSAttributedString. The textView's editable and selectable properties are both set to false. The …

ios uitextview nsattributedstring
Swift change color of text using NSMutableAttributedStrings

I have a UITableView and i would like to display the text of each row using different colors within the …

ios swift uitableview nsattributedstring textcolor
NSAttributedString superscript styling

I want to superscript all the instances of ® character in a block of text (legal disclaimer, naturally ;)) and the default …

ios nsattributedstring core-text
NSAttributedString change style to bold without changing pointSize?

I am digging into NSAttributedStrings on iOS. I have a model that is returning a persons first and last name …

iphone ios ipad uifont nsattributedstring
Looping Through NSAttributedString Attributes to Increase Font SIze

All I need is to loop through all attributes of NSAttributedString and increase their font size. So far I got …

ios objective-c nsattributedstring
iOS 7 BUG - NSAttributedString does not appear

Last week I asked a question about a Simulator bug with NSAttributedString not displaying: iOS 7 Simulator Bug - NSAttributedString does …

ios7 xcode5 nsattributedstring
Add NSUnderlineStyle.PatternDash to NSAttributedString in Swift?

I'm trying to add an underline to some text in my Swift app. This is the code I have currently: …

ios swift nsattributedstring nsmutableattributedstring
NSMutableAttributedString crashing on changing the font?

I'm sure mutable means it can be changed, so why's this happening? attrString = [[NSMutableAttributedString alloc] initWithString:@"Tip 1: Aisle Management The …

objective-c ios nsattributedstring nsmutablestring