NSMutableAttributedString(TKCategory) Category Reference
Declared in | NSMutableAttributedString+TKCategory.h NSMutableAttributedString+TKCategory.m |
Instance Methods
addFont:
Set the font of the string.
- (void)addFont:(UIFont *)font
Parameters
- font
The font that will be set.
Declared In
NSMutableAttributedString+TKCategory.h
addFont:range:
Set the font of a range of characters.
- (void)addFont:(UIFont *)font range:(NSRange)range
Parameters
- font
The font that will be set.
- range
The range of text that will be set as the color.
Declared In
NSMutableAttributedString+TKCategory.h
addKerning:
Set the font of the string.
- (void)addKerning:(CGFloat)kerning
Parameters
- kerning
The font that will be set.
Declared In
NSMutableAttributedString+TKCategory.h
addKerning:range:
Set the kerning of the text in a range.
- (void)addKerning:(CGFloat)kerning range:(NSRange)range
Parameters
- kerning
The kerning that will be set.
- range
The range of text that will be set as the color.
Declared In
NSMutableAttributedString+TKCategory.h
addLineHeight:
Set the font of the string.
- (void)addLineHeight:(CGFloat)lineHeight
Parameters
- lineHeight
The font that will be set.
Declared In
NSMutableAttributedString+TKCategory.h
addLineHeight:range:
Set the line height for the text in a range.
- (void)addLineHeight:(CGFloat)lineHeight range:(NSRange)range
Parameters
- lineHeight
The line height that will be set.
- range
The range of text that will be set as the color.
Declared In
NSMutableAttributedString+TKCategory.h