nsattributedstring
How to setHighlightedTextColor @ NSAttributedString
I have a custom UITableViewCell which uses a NSAttributedString. I want it to change color when the cell is selected. How can I make the NSAttributedString have the same behavior as a UILabel with hig[详细]
2023-04-06 13:51 分类:问答NSAttributedString / NSTextTab Alignment Issue
GOAL: I\'m attempting to use NSAttributedStrings (in conjunction with NSTextTabs) to create the following layout:[详细]
2023-04-04 07:36 分类:问答unarchiving NSAttributedString in iOS
I tried archiving an NSAttributedString in Mac OSX 10.7 and then tried to unarchive it in iOS 4..I get an error:[详细]
2023-03-27 07:40 分类:问答Read RTFD data in IOS
I have RTFD data in NSData objects in IOS that I need to read. In MacOSX I just used to read them with NSAttributedString, but now I know that they are not supported in IOS.[详细]
2023-03-24 03:38 分类:问答NSAttributedString add text alignment
How can I add text alignment attribute to an NSAttributedString to center the text? Edit: Am I doing anything wrong? It doesn\'t seem to change the alignment.[详细]
2023-03-22 05:52 分类:问答Objective C - NSAttributedString extend Attributes?
As the user types into my textfiled I want the new characters to inherit the previous attributes. I currently get the attributes from the previous character and add it as new attribute for the new ra[详细]
2023-03-21 22:49 分类:问答Objective C - Change all attributes in NSAttributedString?
[attributedStr开发者_如何学运维ing enumerateAttributesInRange:range options:NSAttributedStringEnumerationReverse usingBlock:[详细]
2023-03-21 22:19 分类:问答NSAttributedString - What is the attribute to be used for text background color? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: NSBackgroundColorAttributeName-like attribute in NSAttributedString on iOS?[详细]
2023-03-21 11:21 分类:问答NSBackgroundColorAttributeName-like attribute in NSAttributedString on iOS?
I was planning on using NSAttributedString to highlight portions of strings with the matching query of a user\'s search. However, I can\'t开发者_高级运维 find an iOS equivalent of NSBackgroundColorAtt[详细]
2023-03-20 19:06 分类:问答NSAttributedString inserting a bullet point?
So I have an NSAttributedString I want to i开发者_如何学Pythonnsert a bullet point at the beginning of a portion of text. How can I do this? How do I create a CTPAragraphStyle that creates this bullet[详细]
2023-03-19 10:44 分类:问答