NSAttributedString(TKCategory) Category Reference
| Declared in | NSAttributedString+TKCategory.h NSAttributedString+TKCategory.m |
Class Methods
attributedStringWithText:kerning:
Creates an attributed string with a specific kerning.
+ (NSAttributedString *)attributedStringWithText:(NSString *)text kerning:(CGFloat)kerningParameters
- text
The text of the string.
- kerning
The kerning of the attributed string.
Return Value
A NSAttributedString object.
Declared In
NSAttributedString+TKCategory.hattributedStringWithText:lineHeight:
Creates an attributed string with a line height.
+ (NSAttributedString *)attributedStringWithText:(NSString *)text lineHeight:(CGFloat)lineHeightParameters
- text
The text of the string.
- lineHeight
The line height of the attributed string.
Return Value
A NSAttributedString object.
Declared In
NSAttributedString+TKCategory.h