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)kerning
Parameters
- text
The text of the string.
- kerning
The kerning of the attributed string.
Return Value
A NSAttributedString
object.
Declared In
NSAttributedString+TKCategory.h
attributedStringWithText:lineHeight:
Creates an attributed string with a line height.
+ (NSAttributedString *)attributedStringWithText:(NSString *)text lineHeight:(CGFloat)lineHeight
Parameters
- text
The text of the string.
- lineHeight
The line height of the attributed string.
Return Value
A NSAttributedString
object.
Declared In
NSAttributedString+TKCategory.h