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.
How can i have a UILabel with two different colors for the font? I will have text in two different …
ios xcode uilabel nsattributedstring textcolorI have the following code and want to make parts of my text be clickable and call another UIViewController (not …
ios iphone uibutton nsattributedstring uitapgesturerecognizerHow to top-align text of different sizes within a UILabel? An example is top-aligning smaller-sized cent amount with larger-sized dollar …
ios ios6 uilabel nsattributedstringI have a UITextView with some text that came from a .rtf (pasted directly onto Xcode) The context contain only …
xcode swift nsattributedstring custom-fontIs there a way to wrap text from a UITextView around a UIImage without using CoreText? I have been playing …
ios uiimageview uitextview word-wrap nsattributedstringI have spent 3 hours on this but just can't solve it, anybody knows why? please help me! The code below …
nsattributedstring nstextattachmentI see that there is an attribute name (NSParagraphStyleAttributeName) for applying paragraph styles to text in Cocoa. Text is stored …
cocoa macos nstextview nsattributedstringHow can I set the color of a templated image that is an attachment on an attributed string? Background: I've …
ios nsattributedstring nstextattachmentI have a problem changing substring color using "NSForegroundColorAttributeName". I'm confused since other attributes for the same substring are being …
ios objective-c nsattributedstring core-textI want to have two lines of text appear really close together (small line spacing) for a button. I have …
ios objective-c uibutton uilabel nsattributedstring