NSMutableDictionary(DTRichText) Category Reference
| Declared in | NSMutableDictionary+DTRichText.h |
Instance Methods
removeAttachment
Removes the attributes related to a DTTextAttachment from the receiver
- (void)removeAttachmentDeclared In
NSMutableDictionary+DTRichText.hremoveListPrefixField
Removes list prefix field from the receiver
- (void)removeListPrefixFieldDeclared In
NSMutableDictionary+DTRichText.hremoveUnderlineStyle
Removes the underline style from the receiver
- (void)removeUnderlineStyleDeclared In
NSMutableDictionary+DTRichText.hsetFontFromFontDescriptor:
Updates the font attribute via a font descriptor
- (void)setFontFromFontDescriptor:(DTCoreTextFontDescriptor *)fontDescriptorParameters
- fontDescriptor
The font descriptor which describes the font to set
Declared In
NSMutableDictionary+DTRichText.hsetForegroundColor:
Sets the text foreground color to the given color.
- (void)setForegroundColor:(UIColor *)colorParameters
- color
The color to set or
nilto restore the default black text color
Declared In
NSMutableDictionary+DTRichText.htoggleBold
Toggle the attributes in the receiver bold. If font is already bold then it will be made normal.
- (void)toggleBoldDeclared In
NSMutableDictionary+DTRichText.htoggleHighlightWithColor:
Toggles the background color to the given color. If the attributes are already containing a highlight then it is removed
- (void)toggleHighlightWithColor:(UIColor *)colorParameters
- color
The color to highlight with. If there is a previous highlight then this parameter is ignored
Declared In
NSMutableDictionary+DTRichText.htoggleItalic
Toggle the attributes in the receiver italic. If font is already italic then it will be made normal.
- (void)toggleItalicDeclared In
NSMutableDictionary+DTRichText.htoggleStrikethrough
Toggle the attributes in the receiver strikethrough. If text is already marked as strikethrough then the strikethrough is removed.
- (void)toggleStrikethroughDeclared In
NSMutableDictionary+DTRichText.h