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.

Swift: Display HTML data in a label or textView

I have some HTML data, which contains headings, paragraphs , images and lists tags. Is there a way to display this …

html ios swift uitextview nsattributedstring
Use multiple font colors in a single label

Is there a way to use two, or even three font colors in a single label in iOS? If the …

ios swift uilabel nsattributedstring textcolor
Can I set the `attributedText` property of `UILabel`

Can I set the attributedText property of a UILabel object? I tried the below code: UILabel *label = [[UILabel alloc] init]; …

ios objective-c nsattributedstring
iphone/ipad: How exactly use NSAttributedString?

Yes, many people are saying about Rich Text in iPhone/iPad and many knows about NSAttributedString. But how to use …

iphone ipad nsattributedstring
How can I concatenate NSAttributedStrings?

I need to search some strings and set some attributes prior to merging the strings, so having NSStrings -> …

ios nsattributedstring
Example of NSAttributedString with two different font sizes?

NSAttributedString is just really impenetrable to me. I want to set a UILabel to have text of different sizes, and …

ios nsattributedstring
Attributed Text Center Alignment

I have tried everything but cannot seem to center this text. Can someone please tell me where the error is. …

ios xcode label nsattributedstring centering
How to calculate the height of an NSAttributedString with given width in iOS 6

Possible Duplicate: How to get height for NSAttributedString at a fixed width Now NSAttributedString is available in iOS 6. For layout …

ios nsattributedstring bounding-box
Parsing HTML into NSAttributedText - how to set font?

I am trying to get a snippet of text that is formatted in html to display nicely on an iPhone …

html ios nsattributedstring
How do I create a UIColor from RGBA?

I want to use NSAttributedString in my project, but when I'm trying to set color, which isn't from the standard …

ios objective-c rgb nsattributedstring uicolor